DesignIntf.IDesigner60.GetScrollRanges

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetScrollRanges(const ScrollPosition: TPoint): TPoint;

C++

virtual System::Types::TPoint __fastcall GetScrollRanges(const System::Types::TPoint &ScrollPosition) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesigner60

Description

Returns the size of the logical designer window.

Call GetScrollRanges to determine the farthest point to which the designer can scroll. The ScrollPosition parameter specifies a point that must be included in the scroll range. GetScrollRanges returns the coordinates that minimally contain all components on the design surface plus the point specified by ScrollPosition.

See Also