Image.FromHbitmap

Image.FromHbitmap method

Creates a Bitmap from a handle to a GDI bitmap.

public static Bitmap FromHbitmap(IntPtr hbitmap)
ParameterTypeDescription
hbitmapIntPtrThe GDI bitmap handle from which to create the Bitmap.

Return Value

The Bitmap this method creates.

See Also