You cannot set the image height and width using
As I referred the Example 2
in the code samples provided in the article - Gios PDF .NET library
], I found that the following code creates one pdf image to be added to the pdf document.
PdfImage image = myPdfDocument.NewImage("FileName.jpg");
And after that you can get the
of image by the following code, but cannot set these.
int height = image.Height;
int width = image.Width;
So, you can only display image with its predefined properties set while insertion.