ControlPaint.DrawImageDisabled(Graphics, Image, Int32, Int32, Color) Methode

Definitie

Hiermee tekent u de opgegeven afbeelding in een uitgeschakelde status.

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)

Parameters

graphics
Graphics

De Graphics te tekenen.

image
Image

De Image te tekenen.

x
Int32

De x-coördinaat van de linkerbovenhoek van de randafbeelding.

y
Int32

De y-coördinaat van de linkerbovenhoek van de randafbeelding.

background
Color

De Color achtergrond achter de afbeelding.

Opmerkingen

De background parameter wordt gebruikt om de opvulkleur van de uitgeschakelde afbeelding te berekenen, zodat deze altijd zichtbaar is op de achtergrond.

Van toepassing op

Zie ook