nskclr wrote:
> when I convert html with wide image, the image fills the page widthwise and
> is truncated on the sides. 

That's by design.

> Please let me know a solution for this problem.

As you are getting all the elements from an ArrayList,
then loop over the list and add each element seperately,
you may introduce an extra check.
If an element is an instance of class Image, you could
ask the object for its width. If the width > the width
of the page, you can choose to scale it; before adding
it to the document.
br,
Bruno

-------------------------------------------------------------------------
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