ControlPaint.DrawImageDisabled(Graphics, Image, Int32, Int32, Color) メソッド

定義

指定したイメージを無効な状態で描画します。

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)

パラメーター

graphics
Graphics

描画する Graphics

image
Image

描画する Image

x
Int32

境界線イメージの左上の x 座標。

y
Int32

境界線イメージの左上の y 座標。

background
Color

画像の背景の Color

注釈

background パラメーターは、無効なイメージの塗りつぶしの色を計算して、常に背景に表示されるようにするために使用されます。

適用対象

こちらもご覧ください