Comparteix a través de


CachedBitmap(Bitmap, Graphics) Constructor

Definición

Crea una copia dependiente del dispositivo de bitmap para la configuración del dispositivo de graphics.

public:
 CachedBitmap(System::Drawing::Bitmap ^ bitmap, System::Drawing::Graphics ^ graphics);
public CachedBitmap (System.Drawing.Bitmap bitmap, System.Drawing.Graphics graphics);
new System.Drawing.Imaging.CachedBitmap : System.Drawing.Bitmap * System.Drawing.Graphics -> System.Drawing.Imaging.CachedBitmap
Public Sub New (bitmap As Bitmap, graphics As Graphics)

Parámetros

bitmap
Bitmap

Valor Bitmap que se va a convertir.

graphics
Graphics

Objeto Graphics que se va a usar para dar formato a la copia almacenada en caché de bitmap.

Excepciones

bitmap o graphics es null.

Se aplica a