PdfImage(RectangleFloat, 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: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfImage(
RectangleFloat destRectangle,
string file
)
Public Sub New (
destRectangle As RectangleFloat,
file As String
)
public:
PdfImage(
RectangleFloat^ destRectangle,
String^ file
)
new :
destRectangle : RectangleFloat *
file : string -> PdfImage
Parameters
- destRectangle RectangleFloat
- The destination rectangle with the dimensions expressed in points
- file String
- The full path of the image file