Creates a GDI bitmap object from this FreeImageBitmap.

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

Syntax

C#
public IntPtr GetHbitmap(
	Color background
)
Visual Basic (Declaration)
Public Function GetHbitmap ( _
	background As Color _
) As IntPtr
Visual C++
public:
IntPtr GetHbitmap(
	Color background
)

Parameters

background
Type: System.Drawing..::.Color
A Color structure that specifies the background color. This parameter is ignored if the bitmap is totally opaque.

Return Value

A handle to the GDI bitmap object that this method creates.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also