Click or drag to resize

ShellBrowserFromHbitmap Method

Please use ShellControlHelper.FromHbitmap

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.

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
[ObsoleteAttribute("Please use ShellControlHelper.FromHbitmap")]
public static Image FromHbitmap(
	IntPtr pHBitmap,
	Size pSize,
	out Bitmap pBitmapSource
)

Parameters

pHBitmap  IntPtr
hbitmap handle
pSize  Size
size structure
pBitmapSource  Bitmap
The source used to create the Image. Only free after freeing the Image. May be null.

Return Value

Image
An instance of Image
See Also