This property refers to the number of palette colors for the image set in the Layer(LayerNo).ImageHandle property.
[Visual
Basic] imagekitcontrolname.Layer(Index).PalCount
[ = Integer ]
[Visual C++] [
short =
]imagekitcontrolname.GetLayer(Index).GetPalCount()
* 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.