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

dxSpreadSheetAreaSize(TRect) Method

Returns the dimensions of the specified cell range.

#Declaration

Delphi
function dxSpreadSheetAreaSize(const AArea: TRect): TSize;

#Parameters

Name Type
AArea TRect

#Returns

Type
TSize

#Remarks

This function is used in calculations of the cell ranges referenced by array formulas. Unlike the dxSpreadSheetAreaHeight and dxSpreadSheetAreaWidth methods, the dxSpreadSheetAreaSize function returns both the height and width (in cells) of the cell range as a single TSize value. The cell range’s area is specified as the AArea parameter.

See Also