On 29/07/2011 17:36, Jason Berk wrote:
In other words, doc.bottom(..) will return the unit set by the most recent setMargins(...), not the actual bottom of the documentOK, I see that the values of the current and the next margins are stored in PdfDocument, NOT in Document. If you want to add a voucher using the current margin, you'd need to find a way to ask PdfDocument for its bottom margin.
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php