Sign in Join
FPDoc Onlineexperiment

TCustomBitmap.PaletteAllocated function

Member of TCustomBitmappublicIn unit Graphics

Indicates whether a handle has been allocated for a palette in the image.

Declaration

pascal
function PaletteAllocated: Boolean; override

Function result

Returns True if a palette handle has been allocated for the image.

Description

PaletteAllocated is an overridden Boolean function in TCustomBitmap, and indicates whether a handle has been allocated for a palette in the image. PaletteAllocated implements the abstract virtual method defined in the ancestor class.

The return value is True when palette handle in the internal shared image contains a non-zero value.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.