SvgGraphics2DDrawImage Method (Rectangle, Rectangle, RasterImage)
Draws the specified portion of the specified image at the specified location and with the specified size.

Namespace: Aspose.Imaging.FileFormats.Svg.Graphics
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public void DrawImage(
	Rectangle srcRect,
	Rectangle destRect,
	RasterImage image
)

Parameters

srcRect
Type: Aspose.ImagingRectangle
The portion of the image object to draw.
destRect
Type: Aspose.ImagingRectangle
The location and size of the drawn image. The image is scaled to fit the rectangle.
image
Type: Aspose.ImagingRasterImage
The image to draw.
See Also