Skip to main content

dxSpreadSheetAreaWidth(TRect) Method

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

Declaration

function dxSpreadSheetAreaWidth(const AArea: TRect): Integer;

Parameters

Name Type
AArea TRect

Returns

Type
Integer

Remarks

The dxSpreadSheetAreaWidth and dxSpreadSheetAreaHeight methods are used in cell range highlight calculations. The dxSpreadSheetAreaWidth function returns the width (in cells or columns) 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