On 29/07/2011 19:57, Jason Berk wrote:
>
> Is there a better way?
>

Not for the moment. You're not "missing" something.
It's just that iText could do better in this case.

> As much as modifying the code would be nice, I think what’s more 
> important is that I understand the issue, and have a work around in place.
>

I think you fully understand the issue: you understand that Document and 
PdfDocument are different.
The margins in Document are whatever you tell them to be, as soon as you 
change them.
The margins in PdfDocument are whatever they have to be. If you change 
them, they change on the next page.
Your workaround is OK.

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

Reply via email to