Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxSpreadSheetArea(TPoint,TSize) Method

Returns the rectangle bounding the area which is determined by its origin and dimensions.

#Declaration

Delphi
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