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");
   ct.addElement(img);
   ct.go();

  In the columns I want to show the picture's real size. Who can told me!!
Thanks.
  
  
-- 
View this message in context: 
http://www.nabble.com/How-to-set-the-Image-size-in-the-columns.-tf4370576.html#a12457154
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net 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 >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to