views:

92

answers:

1

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?

+1  A: 

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.

John K