ControlPaint.DrawImageDisabled(Graphics, Image, Int32, Int32, Color) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在禁用狀態下繪製指定的影像。
public:
static void DrawImageDisabled(System::Drawing::Graphics ^ graphics, System::Drawing::Image ^ image, int x, int y, System::Drawing::Color background);
public static void DrawImageDisabled(System.Drawing.Graphics graphics, System.Drawing.Image image, int x, int y, System.Drawing.Color background);
static member DrawImageDisabled : System.Drawing.Graphics * System.Drawing.Image * int * int * System.Drawing.Color -> unit
Public Shared Sub DrawImageDisabled (graphics As Graphics, image As Image, x As Integer, y As Integer, background As Color)
參數
- x
- Int32
邊框影像左上角的 x 座標。
- y
- Int32
邊框影像左上角的 y 座標。
備註
該 background 參數用於計算被停用影像的填充顏色,使其始終在背景中可見。