Specifies how the bitmap’s transparent color is determined.
Declaration
TBitmapObj.TransparentMode
| Read-Write Property | String |
| TBitmapObj | A TBitmap object |
Description
The TransparentMode property specifies how the bitmap’s transparent color is determined. If this property is set to “tmAuto”, the TransparentColor property returns the color of the bitmap’s lower left pixel. If TransparentMode is set to “tmFixed”, TransparentColor returns the color stored in the bitmap as a transparent color.
Property Value
One of the following string values:
| Value | Description |
|---|---|
“tmAuto” |
The color of the bitmap’s lower left pixel is used as transparent. |
“tmFixed” |
The transparent color is specified in the bitmap. |
Remarks
Setting TransparentMode to “tmAuto” cancels all assignments made to the TransparentColor property.
