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

dxSpreadSheetAreaWidth(TRect) Method

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

#Declaration

Delphi
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