itextsharp: setting dimensions of image manually
-
05-07-2019 - |
Question
the user will pick an image on their hardrive and i will put it on a pdf file using itextsharp with vb.net. how do i manually set the dimensions of the picture?
Solution
This article provides a simple example of resizing a System.Drawing.Image using VB.NET. It gets the Image from a PictureBox control on the Windows Form, but you can acquire the Image from another source; possibly making it a parameter in the function.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow