Tells FreeImage if it should make use of the transparency table or the alpha channel that may accompany a bitmap.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static void SetTransparent(
	FIBITMAP dib,
	bool enabled
)
Visual Basic (Declaration)
Public Shared Sub SetTransparent ( _
	dib As FIBITMAP, _
	enabled As Boolean _
)
Visual C++
public:
static void SetTransparent(
	FIBITMAP dib, 
	bool enabled
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
enabled
Type: System..::.Boolean
True to enable the transparency, false to disable.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also