xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_hbitmap() [2/2]

intptr xtd::drawing::bitmap::get_hbitmap ( const color background) const

Creates a GDI bitmap object from this xtd::drawing::bitmap.

Parameters
backgroundA xtd::drawing::color structure that specifies the background color. This parameter is ignored if the bitmap is totally opaque.
Returns
A handle to the GDI bitmap object that this method creates.
Remarks
You are responsible for calling the GDI DeleteObject method to free the memory used by the GDI bitmap object. For more information about GDI bitmaps, see Bitmaps in the Windows GDI documentation.