Graphics.DrawCachedBitmap(CachedBitmap, Int32, Int32) Méthode

Définition

Dessine le .cachedBitmap

public:
 void DrawCachedBitmap(System::Drawing::Imaging::CachedBitmap ^ cachedBitmap, int x, int y);
public void DrawCachedBitmap(System.Drawing.Imaging.CachedBitmap cachedBitmap, int x, int y);
member this.DrawCachedBitmap : System.Drawing.Imaging.CachedBitmap * int * int -> unit
Public Sub DrawCachedBitmap (cachedBitmap As CachedBitmap, x As Integer, y As Integer)

Paramètres

cachedBitmap
CachedBitmap

Qui CachedBitmap contient l’image à dessiner.

x
Int32

Coordonnée x du coin supérieur gauche de l’image dessinée.

y
Int32

Coordonnée y du coin supérieur gauche de l’image dessinée.

Exceptions

cachedBitmap a la valeur null.

L’état cachedBitmap de l’appareil Graphics n’est pas compatible.

- ou -

L’objet Graphics a une transformation appliquée autre qu’une traduction.

S’applique à