TExcelFile.ColFromIndex Method
Overloads
TExcelFile.ColFromIndex(Integer, Integer)
This is the column (1 based) for a given ColIndex. See ColCountInRow(Integer) for an example.
Syntax
Unit: FlexCel.Core
function TExcelFile.ColFromIndex(const row: Integer; const colIndex: Integer): Integer; overload; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | row | Integer | Row (1 based) |
const | colIndex | Integer | The index on the column list for the row. (1 based) |
Returns
The column (1 based) for the corresponding item.
See also
TExcelFile.ColFromIndex(Integer, Integer, Integer)
This is the column (1 based) for a given ColIndex and sheet. See ColCountInRow(Integer) for an example.
Syntax
Unit: FlexCel.Core
function TExcelFile.ColFromIndex(const sheet: Integer; const row: Integer; const colIndex: Integer): Integer; overload; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | sheet | Integer | Sheet where we are working. It might be different from ActiveSheet. |
const | row | Integer | Row (1 based) |
const | colIndex | Integer | The index on the column list for the row. (1 based) |
Returns
The column (1 based) for the corresponding item.