Search Results for

    Show / Hide Table of Contents

    ExcelFile.GetColOptions Method

    Returns all Column options at once (if the column is hidden, etc).

    Remarks

    To get individual values, use the corresponding methods (i.e. GetColHidden) Use this method only to copy the options from one column to another.

    Syntax

    Namespace: FlexCel.Core

    public abstract Int32 GetColOptions(Int32 col)

    Parameters

    <-> Parameter Type Description
    col Int32 Column Index (1 based)

    Examples

    To copy all the column options from column 1 to 2, use

        xls.SetColOptions(2, xls.GetColOptions(1));
    

    This is faster and simpler than assigning each option alone.

    See also

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