PdfImage(RectangleF, Boolean, String) Constructor
Constructs a PDF image from the given image file to be laid out in the given destination rectangle in a PDF canvas
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
public PdfImage(
RectangleF destRectangle,
bool preserveAspectRatio,
string file
)
Public Sub New (
destRectangle As RectangleF,
preserveAspectRatio As Boolean,
file As String
)
public:
PdfImage(
RectangleF destRectangle,
bool preserveAspectRatio,
String^ file
)
new :
destRectangle : RectangleF *
preserveAspectRatio : bool *
file : string -> PdfImage
Parameters
- destRectangle RectangleF
- The destination rectangle with the dimensions expressed in points
- preserveAspectRatio Boolean
- Controls if the aspect ratio of the image is preserved
- file String
- The full path of the image file