ControlPaint.CreateHBitmap16Bit(Bitmap, Color) メソッド

定義

16 ビットのカラー ビットマップを作成します。

public:
 static IntPtr CreateHBitmap16Bit(System::Drawing::Bitmap ^ bitmap, System::Drawing::Color background);
public static IntPtr CreateHBitmap16Bit (System.Drawing.Bitmap bitmap, System.Drawing.Color background);
static member CreateHBitmap16Bit : System.Drawing.Bitmap * System.Drawing.Color -> nativeint
Public Shared Function CreateHBitmap16Bit (bitmap As Bitmap, background As Color) As IntPtr

パラメーター

bitmap
Bitmap

作成する Bitmap

background
Color

背景の Color

戻り値

IntPtr

nativeint

ビットマップへのハンドル。

例外

bitmap が null です。

適用対象