ItextSharp resizing images

  • Thread starter Thread starter Josh
  • Start date Start date
J

Josh

When I add an image into the pdf it gets bigger. How can I stop this?

All ideas welcome, thanks
 
iTextSharp.text.Image jk;
jk=iTextSharp.text.Image.getInstance("C:\\some_picture.jpg");
jk.scalePercent(30);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top