ControlPaint.CreateHBitmapTransparencyMask(Bitmap) メソッド

定義

指定したビットマップの、透明として表示する色を示す色マスクを作成します。

public:
 static IntPtr CreateHBitmapTransparencyMask(System::Drawing::Bitmap ^ bitmap);
public static IntPtr CreateHBitmapTransparencyMask (System.Drawing.Bitmap bitmap);
static member CreateHBitmapTransparencyMask : System.Drawing.Bitmap -> nativeint
Public Shared Function CreateHBitmapTransparencyMask (bitmap As Bitmap) As IntPtr

パラメーター

bitmap
Bitmap

透過マスクを作成する対象の Bitmap

戻り値

IntPtr

nativeint

Bitmap のマスクへのハンドル。

注釈

呼び出し元は、ビットマップの割り当てを解除する必要があります。

適用対象