Op 3/02/2011 15:12, Michael Schreiber schreef: > "Details" is the text string used for the chunk. OK, in that case, you need to "reserve sufficient space" when you write the text. For instance: This book has pages. Where the blanks are, you add a PdfTemplate. The best way to achieve this is probably to wrap the PdfTemplate in an Image, and wrap the Image in a Chunk. Once you know the total number of pages (or in your case: the destination page), you fill out this number in the PdfTemplate. The same solution is used in what is commonly known as "the page X of Y problem," so if you search for iText in combination with "page X of Y," you should find some examples.
------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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