Table of Contents

ExcelFile.GetColCount Method

Overloads

ExcelFile.GetColCount(Int32)

Number of columns actually used on a given sheet.

Syntax

Namespace: FlexCel.Core

public Int32 GetColCount(Int32 sheet)

Parameters

<-> Parameter Type Description
sheet Int32 Sheet index where you want to find the columns (1 based)

See also

ExcelFile.GetColCount(Int32, Boolean)

Number of columns actually used on a given sheet.

Syntax

Namespace: FlexCel.Core

public abstract Int32 GetColCount(Int32 sheet, Boolean includeFormattedColumns)

Parameters

<-> Parameter Type Description
sheet Int32 Sheet index where you want to find the columns (1 based)
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