HiQPdf Documentation

PdfImage Constructor (RectangleF, Boolean, Image)

Quickly Create High Quality PDFs
Constructs a PDF image from the given .NET image 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,
	Image image
)

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
image
Type: System.DrawingImage
The .NET image
See Also

Reference