This property sets the transparent color in the image set in the Layer(Index).Image property. The index can range from 0 to 99.

[Visual Basic] Public Property TransparentBlue As Byte
[C#] public byte TransparentBlue {get; set;}

Property Value

TransparentBlue is the transparent color's blue value. (Values range from 0 to 255)

Explanation

The TransparentBlue property sets the transparent color in the image set in the Layer(Index).Image 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(Index).Image property. If a vector image is set in the base image, this property is disabled.

Example: Setting the transparent color to white (in Visual Basic)

ImageKit1.Layer(0).Transparent = True
ImageKit1.Layer(0).TransparentBlue = 255
ImageKit1.Layer(0).TransparentGreen = 255
ImageKit1.Layer(0).TransparentRed = 255
ImageKit1.LayerNumber = 0
ImageKit1.File.LoadImageFromFile(Newtone.ImageKit.Win.LoadFileType.Load)
                        

See Also

ImageKit.Layer Members | Newtone.ImageKit.Win.ImageKit

The ImageKit.NET3 is created by Newtone Corporation