PageAddImage Method (Stream, 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(
	Stream imageStream,
	Rectangle imageRect
)

Parameters

imageStream
Type: System.IOStream
The stream of the image.
imageRect
Type: Aspose.PdfRectangle
The position of the image.
See Also