CachedBitmap(Bitmap, Graphics) Konstruktor

Definition

Skapar en enhetsberoende kopia av bitmap för enhetsinställningarna graphicsför .

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)

Parametrar

bitmap
Bitmap

Att Bitmap konvertera.

graphics
Graphics

Objektet Graphics som ska användas för att formatera den cachelagrade kopian bitmapav .

Undantag

bitmap eller graphics är null.

Gäller för