System::Drawing::Image::FromHbitmap method
Image::FromHbitmap method
Constructs a Bitmap object from the specified GDI bitmap.
static SharedPtr<Bitmap> System::Drawing::Image::FromHbitmap(IntPtr hbitmap)
Parameter | Type | Description |
---|---|---|
hbitmap | IntPtr | A handle to a GDI bitmap from which to create a Bitmap object |
ReturnValue
A shared pointer to the created Bitmap object
See Also
- Typedef SharedPtr
- Class Bitmap
- Class Image
- Namespace System::Drawing
- Library Aspose.PUB for C++