NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlPaint.DrawImageDisabled

Draws an image and makes it look disabled.

[Visual Basic]
Public Shared Sub DrawImageDisabled( _
   ByVal graphics As Graphics, _
   ByVal image As Image, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal background As Color _
)
[C#]
public static void DrawImageDisabled(
   Graphics graphics,
   Image image,
   int x,
   int y,
   Color background
);
[C++]
public: static void DrawImageDisabled(
   Graphics* graphics,
   Image* image,
   int x,
   int y,
   Color background
);
[JScript]
public static function DrawImageDisabled(
   graphics : Graphics,
   image : Image,
   x : int,
   y : int,
   background : Color
);

Parameters

graphics
The graphics object to draw to.
image
The image to draw.
x
The X coordinate to draw at.
y
The Y coordinate to draw at.
background
[To be supplied.]

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace