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