Skip to main content

TcxCustomImageList.SupportsPalette(Integer) Method

Identifies if the specified stored image supports palettes.

Declaration

function SupportsPalette(AIndex: Integer): Boolean;

Parameters

Name Type Description
AIndex Integer

The target image’s index in the list.

Returns

Type Description
Boolean
  • True if the target image (AIndex) supports palettes. Only SVG images support palettes.
  • False if the target image is a bitmap in any supported format.

Remarks

You can call the SupportsPalette function to identify if individual stored images support palettes. Only vector images support palettes.

See Also