ControlPaint.CreateHBitmap16Bit(Bitmap, Color) Método

Definición

Crea un mapa de bits en color de 16 bits.

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

Parámetros

bitmap
Bitmap

Bitmap que se va a crear.

background
Color

Color del fondo.

Devoluciones

IntPtr

nativeint

Identificador del mapa de bits.

Excepciones

bitmap es null.

Se aplica a