Java Mailing List Archive

Home » Home (12/2007) » iText »

[iText-questions] How to set the Image size in the columns.



Hi friends !

 I want to set the image size in the columns.
The Image object has a method setWidthPercentage(), but use this method, the
picture show not by it's real size.

for example:
 PdfContentByte cb;
 ColumnText ct = new ColumnText(cb);
 Image img = Image.getInstance("chapter05/resources/dog.gif");

In the columns I want to show the picture's real size. Who can told me!!

Sent from the iText - General mailing list archive at

This email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
iText-questions mailing list
Buy the iText book:
©2008 - Jax Systems, LLC, U.S.A.