Creates a FreeImageBitmap from a handle to a GDI bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FreeImageBitmap FromHbitmap( IntPtr hbitmap ) |
Visual Basic (Declaration) |
---|
Public Shared Function FromHbitmap ( _ hbitmap As IntPtr _ ) As FreeImageBitmap |
Visual C++ |
---|
public: static FreeImageBitmap^ FromHbitmap( IntPtr hbitmap ) |
Parameters
- hbitmap
- Type: System..::.IntPtr
The GDI bitmap handle from which to create the FreeImageBitmap.