This property enables the transparent color in the image set in the Layer(LayerNo).ImageHandle property.
[Visual
Basic] imagekitcontrolname.Layer(Index).Transparent
[= Boolean ]
[Visual
C++] [BOOL =
]imagekitcontrolname.GetLayer(Index).GetTransparent()
imagekitcontrolname.GetLayer(Index).SetTransparent(BOOL Val)
imagekitcontrolname.GetLayer(Index).SetTransparent(BOOL Val)
* The index can range from 0 to 99
Property Value
Value | Explanation |
---|---|
True | The transparent color is enabled. (default value) |
False | The transparent color is disabled |
Explanation
The Transparent property enables the transparent color in the image set in the Layer(LayerNo).ImageHandle property.
The default value is True.
When the Transparent property is True, the color set by the TransBlue, TransGreen, and TransRed properties will be transparent.
To display multiple images without a transparent color, set this property to false.
If the image set in the Layer(LayerNo).ImageHandle property is a vector image, then the Transparent property is disabled.
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.