the user will pick an image on their hardrive and i will put 开发者_Python百科it on a pdf file using itextsharp with vb.net. how do i manually set the dimensions of the picture?
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.
精彩评论