PdfImage(RectangleF, Boolean, Image) Constructor
Constructs a PDF image from the given .NET image to be laid out in the given destination rectangle in a PDF canvas
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public PdfImage(
RectangleF destRectangle,
bool preserveAspectRatio,
Image image
)
Parameters
- destRectangle RectangleF
- The destination rectangle with the dimensions expressed in points
- preserveAspectRatio Boolean
- Controls if the aspect ratio of the image is preserved
- image Image
- The .NET image