dxSpreadSheetArea(TPoint,TSize) Method
Returns the rectangle bounding the area which is determined by its origin and dimensions.
Declaration
function dxSpreadSheetArea(const ATopLeft: TPoint; const ASize: TSize): TRect;
Parameters
Name | Type |
---|---|
ATopLeft | TPoint |
ASize | TSize |
Returns
Type |
---|
TRect |
Remarks
The dxSpreadSheetArea function is used to determine cell range boundaries in a worksheet. The ATopLeft parameter specifies coordinates of the origination point (located in the upper-left corner of the area). The ASize parameter specifies both the width and height of the created area.
If you need to identify the number of cells corresponding to the area’s height or width, use the dxSpreadSheetAreaHeight or dxSpreadSheetAreaWidth functions, respectively.
See Also