Skip to main content

dxSpreadSheetAreaHeight(TRect) Method

Returns the number of rows covered by the specified cell range (area) within a worksheet.

Declaration

function dxSpreadSheetAreaHeight(const AArea: TRect): Integer;

Parameters

Name Type
AArea TRect

Returns

Type
Integer

Remarks

The dxSpreadSheetAreaHeight and dxSpreadSheetAreaWidth methods are used in cell range highlight calculations. The dxSpreadSheetAreaHeight function returns the height (in cells or rows) of the area specified as the AArea parameter.

Note

If you need to identify the cell range’s boundaries by specifying its origin and dimensions, use the dxSpreadSheetArea function instead.

See Also