Skip to main content

dxSpreadSheetAreaSize(TRect) Method

Returns the dimensions of the specified cell range.

Declaration

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