FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.GetUsedPaletteColors Method

Returns a list of the colors in the Excel palette that are actually used in your file.

Pascal
function GetUsedPaletteColors: BooleanArray;
C++
__fastcall BooleanArray GetUsedPaletteColors();

A boolean Array that contains true for the colors in use, or false otherwise.

You can use this as an entry to NearestColorIndex to modify the palette, or you can modify it yourself with the information returned.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!