RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.PaletteNeeded Method

Create color palette for TBitmap's mask if it doesn't already exist.

Pascal
procedure PaletteNeeded;
C++
__fastcall PaletteNeeded();

PaletteNeeded is called to create a color palette for the TBitmap object if it doesn't already exist. A palette is not created if IgnorePalette is true. IgnorePalette is set to true if a palette can't be created. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!