Search Results for

    Show / Hide Table of Contents

    ExcelFile.GetColCount Method

    Overloads

    • ExcelFile.GetColCount(Int32)
    • ExcelFile.GetColCount(Int32, Boolean)

    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

    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

    • ExcelFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com