ControlPaint.CreateHBitmap16Bit(Bitmap, Color) Methode

Definition

Erstellt eine 16-Bit-Farbbitmap.

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

Die zu erstellende Bitmap.

background
Color

Die Color des Hintergrunds.

Gibt zurück

IntPtr

nativeint

Das Handle für die Bitmap.

Ausnahmen

bitmap ist NULL.

Gilt für: