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!

ControlPaint.CreateHBITMAPTransparencyMask

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 color.

[Visual Basic]
Public Shared Function CreateHBITMAPTransparencyMask( _
   ByVal bitmap As Bitmap _
) As Integer
[C#]
public static int CreateHBITMAPTransparencyMask(
   Bitmap bitmap
);
[C++]
public: static int CreateHBITMAPTransparencyMask(
   Bitmap* bitmap
);
[JScript]
public static function CreateHBITMAPTransparencyMask(
   bitmap : Bitmap
) : int;

Parameters

bitmap
[To be supplied.]

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace