Search Results for

    Show / Hide Table of Contents

    TExcelFile.GetColCount Method

    Overloads

    • TExcelFile.GetColCount(Integer)
    • TExcelFile.GetColCount(Integer, Boolean)

    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

    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

    • TExcelFile
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com