共用方式為


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。

適用於