Creates a Win32 HBITMAP out of the image. You are responsible for de-allocating the HBITMAP with Windows.DeleteObject(handle). If the image uses transparency, the background will be filled with the specified background color.
[Visual Basic] Overloads Public Function GetHBITMAP( _ ByVal background As Color _ ) As Integer [C#] public int GetHBITMAP( Color background ); [C++] public: int GetHBITMAP( Color background ); [JScript] public function GetHBITMAP( background : Color ) : int;
The handle to this Bitmap.
Bitmap Class | Bitmap Members | System.Drawing Namespace | Bitmap.GetHBITMAP Overload List