This property refers to the number of palette colors for the image set in the Layer[LayerNo].ImageHandle property.

[C++Builder]   imagekitcontrolname->Layer[Index]->PalCount[ = short ]
[Delphi]   imagekitcontrolname.Layer[Index].PalCount[ = Smallint ]

* The index can range from 0 to 99

Reference

The number of palette colors for the image.

This property value is valid when the BitCount property is less than 8, otherwise 0 is returned.

Explanation

The PalCount property refers to the number of palette colors for the image set in the Layer[LayerNo].ImageHandle property.

After setting the Layer[LayerNo].ImageHandle property, the value of this property is automatically set.

This property is not valid for vector images.

Setting this value

  This value cannot be set.

Retrieving this value

This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation