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

cachedBitmap與裝置狀態不相容Graphics

-或-

物件 Graphics 已套用翻譯以外的轉換。

適用於