MobileForms Toolkit Documentation

ImageListEx.Draw Method (Graphics, Int32, Int32, Int32, Int32, Int32)

Draws the image indicated by the given index on the specified Graphics using the specified location and size.

public void Draw(
Graphics g,
int x,
int y,
int width,
int height,
int index
);

Parameters

g
The Graphics to draw on.
x
The horizontal position at which to draw the image.
y
The vertical position at which to draw the image.
width
The width, in pixels, of the destination image.
height
The height, in pixels, of the destination image.
index
The index of the image in the ImageListEx to draw.

Remarks

The image is stretched or compressed as necessary to fit the bounds provided.

See Also

ImageListEx Class | Resco.Controls Namespace | ImageListEx.Draw Overload List