Lire en anglais Modifier

Partager via


CachedBitmap(Bitmap, Graphics) Constructor

Definition

Creates a device-dependent copy of bitmap for the device settings of graphics.

C#
public CachedBitmap(System.Drawing.Bitmap bitmap, System.Drawing.Graphics graphics);

Parameters

bitmap
Bitmap

The Bitmap to convert.

graphics
Graphics

The Graphics object to use to format the cached copy of the bitmap.

Exceptions

bitmap or graphics is null.

Applies to

Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
Windows Desktop 8, 9, 10