This property determines whether or not the image set in the Layer[LayerNo].ImageHandle property is grayscale.

[C++Builder]   imagekitcontrolname->Layer[Index]->Gray[ = bool ]
[Delphi]   imagekitcontrolname.Layer[Index].Gray[ = Boolean ]

* The index can range from 0 to 99

Reference

Value Explanation
True Grayscale
False Not grayscale

Explanation

The Gray property determines whether or not the image set in the Layer[LayerNo].ImageHandle property is grayscale.

After setting the Layer[LayerNo].ImageHandle property, the value of the Gray 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