TExcelFile.GetColCount Method
Overloads
TExcelFile.GetColCount(Integer)
Number of columns actually used on a given sheet.
Syntax
Unit: FlexCel.Core
function TExcelFile.GetColCount(const sheet: Integer): Integer; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
sheet |
Integer |
Sheet index where you want to find the columns (1 based) |
See also
TExcelFile.GetColCount(Integer, Boolean)
Number of columns actually used on a given sheet.
Syntax
Unit: FlexCel.Core
function TExcelFile.GetColCount(const sheet: Integer; const includeFormattedColumns: Boolean): Integer; overload; virtual; abstract;
Parameters
<-> |
Parameter |
Type |
Description |
const |
sheet |
Integer |
Sheet index where you want to find the columns (1 based) |
const |
includeFormattedColumns |
Boolean |
If true (the default) formatted columns (for example a column you selected and painted yellow) will be included in the count, even if it doesn't have data.
|
See also