Skip to content

SetImageOverlay_UseTransparentColor

function

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, the default color transparency (background color) of the image will be used.

Look at the Image Overlays chapter for more information.