This property sets the transparent color for the stamp in the image-editing toolbar

[C++Builder]   imagekitcontrolname->Edit->StampTransGreen [ = short ]
[Delphi]   imagekitcontrolname.Edit.StampTransGreen [ = Smallint ]

Property Value

The green value of the stamp's transparent color

Values range from 0 to 255

Explanation

The StampTransGreen property sets the transparent color for the stamp in the image-editing toolbar.

When the bitmap image file used for the stamp is a 1 bit image, please set the StampTransBlue, StampTransGreen, and StampTransRed properties to 0. (In this case the palette number is used, not the RGB value). Note: The transparent color must be set PRIOR to setting the StampBmpFile property.

Example: Setting white as the transparent color (Delphi Code)

     VImageKit1.Edit.StampTransBlue := 255;
     VImageKit1.Edit.StampTransGreen := 255;
     VImageKit1.Edit.StampTransRed := 255;
     VImageKit1.Edit.StampBmpFileName := 'Stamp.bmp';

Setting this value

This value can be set at run-time.

Retrieving this value

This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation