SetImageOverlay_UseTransparentColor
Delphi
procedure SetImageOverlay_UseTransparentColor (Index: LongInt; Value: Boolean);
C++Builder
void __fastcall SetImageOverlay_UseTransparentColor(System::LongInt Index, bool Value);
C#
public void SetImageOverlay_UseTransparentColor(int Index, bool Value);
VB.NET
Public Sub SetImageOverlay_UseTransparentColor(Index As Integer, Value As Boolean)
C++/Qt
void SetImageOverlay_UseTransparentColor (int Index, BOOL Value);
void SetImageOverlay_UseTransparentColor (BOOL Value);
Used to activate the transparent color for the image overlay of the specified index.
The overlay transparency must be enabled with SetImageOverlay_Transparent.
If enabled, the color must be specified by SetImageOverlay_TransparentColorValue.
If disabled (default), an image having an alpha channel (e.g. a 32-bit PNG file) is drawn with its per-pixel transparency, and for an image without alpha channel the default color (background color) of the image is used.
Look at the Image Overlays chapter for more information.