Adding an image to a PDF using iTextSharp and scale it properly
问题 here's my code. It correctly adds the pictures I want and everything works except that the images are using their native resolution, so if the image is big it's being cropped to fit the page. Is there some way to have the picture use like a Zoom feature to stretch to fit, but also maintain the aspect ratio? There has to be something I'm missing there. :P Here's a picture to illustrate the problem: using System; using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; using System