Skip to main content

TcxCustomImageList.ColorDepth Property

Specifies the color depth (the pixel format) of the stored images.

Declaration

property ColorDepth; default cd32Bit;

Property Value

Type Default Description
TColorDepth cd32Bit

The color depth of images in the list.

Remarks

Options include:

Value Description
cdDefault The default color depth.
cdDeviceDependent The image color depth is device-dependent.
cd4Bit The 4-bit color depth for grayscale images.
cd8Bit The 8-bit color depth for 8-bit true color and color-mapped images.
cd16Bit The 16-bit color depth for High color RGB images.
cd24Bit The 24-bit color depth for True color RGB images.
cd32Bit The 32-bit color depth for True color RGBA images.

Note

Every ColorDepth property change calls the Clear procedure.

See Also