Search Results for

    Show / Hide Table of Contents

    TXlsFile.GetColorPalette Method

    Returns a color from the color palette. This method will throw an exception if its "index" parameter is bigger than TExcelFile.ColorPaletteCount, (for example, for an automatic color). To get the real color, use TExcelFile.GetColorPalette(Integer, TUIColor)

    Syntax

    Unit: FlexCel.XlsAdapter

    function TXlsFile.GetColorPalette(const index: Integer): TUIColor; overload; override;

    Parameters

    <-> Parameter Type Description
    const index Integer Index of the entry to return. Must be 1<=index<=TExcelFile.ColorPaletteCount

    Returns

    Color at position index.

    See also

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