Returns the size of the logical designer window.
function GetScrollRanges(const ScrollPosition: TPoint): TPoint;
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.