PdfImageSetPdfImage(Single, Single, Single, Single, String) Method
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: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
public void SetPdfImage(
float destX,
float destY,
float destWidth,
float destHeight,
string imageFilePath
)
Public Sub SetPdfImage (
destX As Single,
destY As Single,
destWidth As Single,
destHeight As Single,
imageFilePath As String
)
public:
void SetPdfImage(
float destX,
float destY,
float destWidth,
float destHeight,
String^ imageFilePath
)
member SetPdfImage :
destX : float32 *
destY : float32 *
destWidth : float32 *
destHeight : float32 *
imageFilePath : string -> unit
Parameters
- destX Single
- The destination X coordinate in points
- destY Single
- The destination Y coordinate in points
- destWidth Single
- The destination width in points
- destHeight Single
- The destination height in points
- imageFilePath String
- The full path of the image file