Hello,

my task is to keep some things together when printing a PDF, in a recursive
way (each child has to be kept with its parent).

I have putted the text/images that should be kept together in a PdfPTable so
that if there is not enough space in the current page the table is moved to
a new one.

This works perfectly except for the fact that the last row of the table in
the previous page is expandend to the end of the page.
I have tried with table.setExdendLastRow(false) but this has no effect.

Any help will be much appreciated. In particuar, how can I avoid the
described effect? Is there other ways to achieve my task?

With best Regards,

Michele
------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to