This property sets the transparent color in the image set in the Layer(LayerNo).ImageHandle property.
imagekitcontrolname.GetLayer(Index).SetTransBlue(short Val)
* The index can range from 0 to 99
Reference
TransBlue is the transparent color's blue value. (Values range from 0 to 255. Default value is 0 )
Explanation
The TransBlue property sets the transparent color in the image set in the Layer(LayerNo).ImageHandle property. This property is useful when multiple image are displayed at the same time in the ImageKit Control. When a transparent color is used, the next image layer below the transparent color will appear. The image where the transparent color is set must be 8 bit color or 24 bit color and is specified by the Layer(LayerNo).ImageHandle property. The default value is true. If a vector image is set in the base image, this property is disabled.
Example: Setting the transparent color to white
ImageKit1.Layer(0).Transparent = True
ImageKit1.Layer(0).TransBlue = 255
ImageKit1.Layer(0).TransGreen = 255
ImageKit1.Layer(0).TransRed = 255
ImageKit1.LayerNo = 0
ImageKit1.File.LoadFile(ikLoad)
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.