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

◆ to_bitmap()

xtd::drawing::bitmap xtd::drawing::icon::to_bitmap ( ) const

Converts this xtd::drawing::icon to a GDI+ xtd::drawing::bitmap.

Returns
A Bitmap that represents the converted xtd::drawing::icon.
Remarks
The transparent areas of the icon are lost when it is converted to a bitmap, and the transparent color of the resulting bitmap is set to RGB(13,11,12). The returned bitmap has the same height and width as the original icon.