HiQPdf Documentation

PdfImage Constructor (RectangleF, Boolean, String)

Quickly Create High Quality PDFs
Constructs a PDF image from the given image file to be laid out in the given destination rectangle in a PDF canvas

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public PdfImage(
	RectangleF destRectangle,
	bool preserveAspectRatio,
	string file
)

Parameters

destRectangle
Type: System.DrawingRectangleF
The destination rectangle with the dimensions expressed in points
preserveAspectRatio
Type: SystemBoolean
Controls if the aspect ratio of the image is preserved
file
Type: SystemString
The full path of the image file
See Also

Reference