PdfImage(RectangleF, String) Constructor
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: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfImage(
RectangleF destRectangle,
string file
)
Parameters
- destRectangle RectangleF
- The destination rectangle with the dimensions expressed in points
- file String
- The full path of the image file