Draws an Image at a location and with a particular size. If no size is supplied the original physical size will be used.
Syntax

[C#]

void DrawImage(Image image, double x, double y, double width, double height);
void DrawImage(Image image, Point[] pts);
void DrawImage(Image image, PointF[] pts);
void DrawImage(Image image, RectangleF rect);

[Visual Basic]

Sub DrawImage(image As Image, x As Double, y As Double, width As Double, height As Double)
Sub DrawImage(image As Image, pts As Point())
Sub DrawImage(image As Image, pts As PointF())
Sub DrawImage(image As Image, rect As RectangleF)
Params
Name Description
image The Image to draw.
x The x position of the top left of the drawn image.
y The y position of the top left of the drawn image.
width Width of the drawn image.
height Height of the drawn image.
pts Three points that specify a parallelogram into which the image will be drawn. These points should be top left, top right and bottom left respectively.
rect The rectangle into which the image should be drawn.
Notes

None.

Example

None.