HiQPdf Documentation

PdfImage Constructor (RectangleFloat, String)

HiQPdf Client for .NET Core
Constructs a PDF image from the given image file to be laid out in the given destination rectangle in a PDF canvas. The aspect ratio of the image is preserved in PDF

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public PdfImage(
	RectangleFloat destRectangle,
	string file
)

Parameters

destRectangle
Type: HiQPdfClientRectangleFloat
The destination rectangle with the dimensions expressed in points
file
Type: SystemString
The full path of the image file
See Also

Reference