Table of Contents

TXlsFile.PaletteContainsColor Method

Returns true if the internal color palette contains the exact specified color. Note that Excel 2007 doesn't use the color palette, so this method is not needed there.

Syntax

Unit: FlexCel.XlsAdapter

function TXlsFile.PaletteContainsColor(const value: TExcelColor): Boolean; override;

Parameters

<-> Parameter Type Description
const value TExcelColor Color to check.

Returns

True if color is defined.

See also