PdfImage(RectangleF, Image) Constructor
Constructs a PDF image from the given .NET image 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: 16.0.0
public PdfImage(
RectangleF destRectangle,
Image image
)
Public Sub New (
destRectangle As RectangleF,
image As Image
)
public:
PdfImage(
RectangleF destRectangle,
Image^ image
)
new :
destRectangle : RectangleF *
image : Image -> PdfImage
Parameters
- destRectangle RectangleF
- The destination rectangle with the dimensions expressed in points
- image Image
- The .NET image