Back to Devexpress

TcxCustomImageList.SupportsPalette(Integer) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-supportspalette-x28-system-dot-integer-x29.md

latest1.0 KB
Original Source

TcxCustomImageList.SupportsPalette(Integer) Method

Identifies if the specified stored image supports palettes.

Declaration

delphi
function SupportsPalette(AIndex: Integer): Boolean;

Parameters

NameTypeDescription
AIndexInteger

The target image’s index in the list.

|

Returns

TypeDescription
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

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit