Constructs a PDF image from the given image file to be laid out at the given coordinate and in the given width in a PDF canvas.
The aspect ratio of the image is preserved in PDF. This method can be called only on an empty PDF image
Namespace: HiQPdf
Assembly: HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax
public void SetPdfImage( float destX, float destY, float destWidth, float destHeight, string imageFilePath )
Parameters
- destX
- Type: SystemSingle
The destination X coordinate in points - destY
- Type: SystemSingle
The destination Y coordinate in points - destWidth
- Type: SystemSingle
The destination width in points - destHeight
- Type: SystemSingle
The destination height in points - imageFilePath
- Type: SystemString
The full path of the image file
See Also