NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Bitmap.GetHBITMAP (Color)

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;

Parameters

background
A TBD that represents the background color of this Bitmap.

Return Value

The handle to this Bitmap.

See Also

Bitmap Class | Bitmap Members | System.Drawing Namespace | Bitmap.GetHBITMAP Overload List