This property refers to the number of bits per pixel in the image set in the Layer(LayerNo).ImageHandle property
[Visual
Basic] imagekitcontrolname.Layer(Index).BitCount
[ = Integer ]
[Visual C++] [
short =
]imagekitcontrolname.GetLayer(Index).GetBitCount()
* The index can range from 0 to 99
Reference
The number of bits per pixel in an image.
Value | Explanation |
---|---|
1 | 2 color (i.e. Black and White) |
4 | 16 color |
8 | 256 color |
16 | 16 bit color |
24 | 24 bit color |
32 | 32 bit color |
Explanation
The BitCount property refers to the number of bits per pixel in the image set in the Layer(LayerNo).ImageHandle property
When the Layer(LayerNo).ImageHandle property is set the value of the BitCount 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.