Table of Contents

XlsFile.GetColCount Method

Number of columns actually used on a given sheet.

Syntax

Namespace: FlexCel.XlsAdapter

public override 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