GraphicsDrawImage Method (Image, Single, Single, Single, Single)

Draws the specified Image, using its original physical size, at the specified location and with the specified size.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public void DrawImage(
	Image image,
	float x,
	float y,
	float width,
	float height
)

Parameters

image
Type: System.DrawingImage
Image to draw.
x
Type: SystemSingle
The x-coordinate of the upper-left corner of the drawn image.
y
Type: SystemSingle
The y-coordinate of the upper-left corner of the drawn image.
width
Type: SystemSingle
The width of the drawn image.
height
Type: SystemSingle
The height of the drawn image.
See Also