Bahasa

ControlPaint.CreateHBitmap16Bit(Bitmap, Color) Metode

Definisi

Membuat bitmap warna 16-bit.

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

Parameter

bitmap
Bitmap

yang Bitmap akan dibuat.

background
Color

Latar Color belakang.

Mengembalikan

IntPtr

nativeint

Handel ke bitmap.

Pengecualian

bitmap adalah null.

Berlaku untuk