ShellBrowser .Net Edition
FromHbitmap Method (hBitmap, p_Size)
NamespacesJam.ShellShellBrowserFromHbitmap(IntPtr, Size)
Converts a handle to a HBITMAP structure to an Image instance. If the size given is lesser than 256 pixels in width and height, the alpha channel is preserved.
Declaration Syntax
C#Visual BasicVisual C++
public static Image FromHbitmap(
	IntPtr hBitmap,
	Size p_Size
)
Public Shared Function FromHbitmap ( _
	hBitmap As IntPtr, _
	p_Size As Size _
) As Image
public:
static Image^ FromHbitmap(
	IntPtr hBitmap, 
	Size p_Size
)
Parameters
hBitmap (IntPtr)
hbitmap handle
p_Size (Size)
size structure
Return Value
An instance of Image

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)