Table of Contents

XlsFile.GetColorPalette Method

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

Syntax

Namespace: FlexCel.XlsAdapter

public override TUIColor GetColorPalette(Int32 index)

Parameters

<-> Parameter Type Description
index Int32 Index of the entry to return. Must be 1<=index<=ExcelFile.ColorPaletteCount

Returns

Color at position index.

See also