Returns an HBITMAP created by the
CreateDIBitmap() function which in turn
has always the same color depth as the reference DC, which may be provided
through
hdc. The desktop DC will be used,
if
IntPtr.Zero DC is specified.
Call
FreeHbitmap(IntPtr) to free the handle.
Namespace:
FreeImageAPI
Assembly:
FreeImageNET (in FreeImageNET.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GetBitmapForDevice ( _
dib As FIBITMAP, _
hdc As IntPtr, _
unload As Boolean _
) As IntPtr |
Return Value
If the function succeeds, the return value is a handle to the
compatible bitmap. If the function fails, the return value is
Zero.
Exceptions
Version Information
FreeImage.NET
Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1
See Also