Vcl.Graphics.TBitmap.PaletteNeeded
Delphi
procedure PaletteNeeded;
C++
void __fastcall PaletteNeeded();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBitmap |
Description
Create color palette for TBitmap's mask if it doesn't already exist.
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.