Graphics.DrawCachedBitmap(CachedBitmap, Int32, Int32) 方法

定义

绘制给定 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)

参数

cachedBitmap
CachedBitmap

包含 CachedBitmap 要绘制的图像的 。

x
Int32

所绘制图像的左上角的 x 坐标。

y
Int32

所绘制图像的左上角的 y 坐标。

例外

cachedBitmapnull

cachedBitmapGraphics设备状态不兼容。

-或-

对象 Graphics 应用了转换以外的转换。

适用于