This property determines whether or not the image set in the Layer(LayerNo).ImageHandle property is grayscale.
[Visual
Basic] imagekitcontrolname.Layer(Index).Gray
[ = Boolean ]
[Visual C++] [
BOOL =
]imagekitcontrolname.GetLayer(Index).GetGray()
* 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.