Search Results for

    Show / Hide Table of Contents

    XlsFile.SetColHidden Method

    Overloads

    • XlsFile.SetColHidden(Int32, Boolean)
    • XlsFile.SetColHidden(Int32, Int32, Boolean)

    XlsFile.SetColHidden(Int32, Boolean)

    Hides or shows a specific column. Note: If you are hiding many columns at the same time, you can call ExcelFile.SetColHidden(Int32, Int32, Boolean) as it is faster.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public override void SetColHidden(Int32 col, Boolean hide)

    Parameters

    <-> Parameter Type Description
    col Int32 Column index (1 based).
    hide Boolean If true, column will be hidden, if false it will be visible.

    See also

    • XlsFile

    XlsFile.SetColHidden(Int32, Int32, Boolean)

    Hides or shows a range of columns.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public override void SetColHidden(Int32 col1, Int32 col2, Boolean hide)

    Parameters

    <-> Parameter Type Description
    col1 Int32 Column index of the first column in the range. (1 based)
    col2 Int32 Column index of the last column in the range. (1 based)
    hide Boolean If true, column will be hidden, if false it will be visible.

    See also

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