Creates a GDI bitmap object from this FreeImageBitmap with the same color depth as the primary device.

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

Syntax

C#
public IntPtr GetHbitmapForDevice()
Visual Basic (Declaration)
Public Function GetHbitmapForDevice As IntPtr
Visual C++
public:
IntPtr GetHbitmapForDevice()

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