GraphicsDrawImage Method (Image, Point, Rectangle, GraphicsUnit)

Draws the specified portion of 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,
	Point[] destPoints,
	Rectangle srcRect,
	GraphicsUnit srcUnit
)

Parameters

image
Type: System.DrawingImage
Image to draw.
destPoints
Type: System.DrawingPoint
Array of three Point structures that define a parallelogram.
srcRect
Type: System.DrawingRectangle
Rectangle structure that specifies the portion of the image object to draw.
srcUnit
Type: System.DrawingGraphicsUnit
Member of the GraphicsUnit enumeration that specifies the units of measure used by the srcRect parameter.
See Also