Op 14/12/2010 10:43, Annelie Karlsson schreef: > Hello, > > I just posted a question on stackoverflow > (http://stackoverflow.com/questions/4430302/extra-space-inserted-on-new-pages-when-creating-pdfs-with-itextsharp) > > and was pointed in this direction as my problem might be a bug. Yes and no. There's no extra space on the pages that follow page 1. The problem is that there's less space on page 1.
No, this is not a joke. The problem is caused by the "leading" (that is: the space between two lines). The initial value is 0. When you add content to a document, this value changes to a value different from 0. What is the leading you're using throughout the document? You should set this as the initial leading with the method setInitialLeading() in PdfWriter. ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
