FreeImageBitmap.FromHbitmap Method (IntPtr, IntPtr)

FreeImage.NET

FreeImageBitmapFromHbitmap Method (IntPtr, IntPtr)
Creates a FreeImageBitmap from a handle to a GDI bitmap and a handle to a GDI palette.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FreeImageBitmap FromHbitmap(
	IntPtr hbitmap,
	IntPtr hpalette
)

Parameters

hbitmap
Type: SystemIntPtr
The GDI bitmap handle from which to create the FreeImageBitmap.
hpalette
Type: SystemIntPtr
Ignored.

Return Value

Type: FreeImageBitmap
The FreeImageBitmap this method creates.
See Also