GraphicsDrawImage Method (Image, Int32, Int32, Int32, Int32)

Draws the specified Image 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,
	int x,
	int y,
	int width,
	int height
)

Parameters

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