Vcl.Graphics.TBitmap.PaletteNeeded

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also