Search Results for

    Show / Hide Table of Contents

    TXlsFile.GetColCount Method

    Number of columns actually used on a given sheet.

    Syntax

    Unit: FlexCel.XlsAdapter

    function TXlsFile.GetColCount(const sheet: Integer; const includeFormattedColumns: Boolean): Integer; overload; override;

    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

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