PageAddImage Method (String, Rectangle)
Adds image onto the page and locates it in the middle of specified rectangle saving image's proportion.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 21.9.0
Syntax
public void AddImage(
	string imagePath,
	Rectangle rectangle
)

Parameters

imagePath
Type: SystemString
The path to image.
rectangle
Type: Aspose.PdfRectangle
The position of the image.
See Also