ControlPaint.CreateHBitmap16Bit(Bitmap, Color) Metod

Definition

Skapar en 16-bitars färgbitmapp.

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

Parametrar

bitmap
Bitmap

Att Bitmap skapa.

background
Color

Bakgrundens Color .

Returer

IntPtr

nativeint

Handtaget till bitmappen.

Undantag

bitmap är null.

Gäller för