DesignIntf.IDesigner60.GetScrollRanges

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

function GetScrollRanges(const ScrollPosition: TPoint): TPoint;

C++

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

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