Search Results for

    Show / Hide Table of Contents

    TExcelColor.FromIndex Method

    Overloads

    • TExcelColor.FromIndex(Int32)
    • TExcelColor.FromIndex(Int32, Double)

    TExcelColor.FromIndex(Int32)

    Returns a color class with a specified color index. For compatibility with old code, you can enter any index here. If the value is less than 1 or more than 56, it will assume automatic color.

    Syntax

    Namespace: FlexCel.Core

    public static TExcelColor FromIndex(Int32 index)

    Parameters

    <-> Parameter Type Description
    index Int32 Index to the color palette. (1 based)

    See also

    • TExcelColor

    TExcelColor.FromIndex(Int32, Double)

    Returns a color class with a specified color index. For compatibility with old code, you can enter any index here. If the value is less than 1 or more than 56, it will assume automatic color.

    Syntax

    Namespace: FlexCel.Core

    public static TExcelColor FromIndex(Int32 index, Double tint)

    Parameters

    <-> Parameter Type Description
    index Int32 Index to the color palette. (1 based)
    tint Double Tint for the color.




    If you try to set a value less than -1 it will be stored as -1, and values bigger than 1 as 1. No exceptions will be raised.

    See also

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