Skip to main content

TdxSpreadSheetTableView.GetMaxColumnIndex Method

Returns the index of the last column in the worksheet.

Declaration

function GetMaxColumnIndex: Integer;

Returns

Type Description
Integer

The index of the last column in the worksheet.

Remarks

The Spreadsheet formula engine calls GetMaxColumnIndex and GetMaxRowIndex functions to identify the maximum worksheet dimensions.

VCL Spreadsheet: Last Row and Column

The GetMaxColumnIndex function returns the dxSpreadSheetMaxColumnIndex global constant value.

See Also