Search Results for

    Show / Hide Table of Contents

    ExcelFile.SetColHidden Method

    Overloads

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

    ExcelFile.SetColHidden(Int32, Boolean)

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

    Syntax

    Namespace: FlexCel.Core

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

    • ExcelFile

    ExcelFile.SetColHidden(Int32, Int32, Boolean)

    Hides or shows a range of columns.

    Syntax

    Namespace: FlexCel.Core

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

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