cadev wrote: > I am using page events to add a header to a pdf document. The header > contains a PdfPTable. I would like to add a String containing a page number > to the last row of the PdfPTable. However, when I initialize the PdfPTable > (in setPageHeader), the page number does not exist yet -- it only exists in > the "onEndPage" method. How can I put the page number in the PdfPTable?
The answer to that question is given in section 5.4.2 (Solving the "page X of Y" problem) of the second edition of iText in Action. The answer is only $34.99 away from you at http://affiliate.manning.com/idevaffiliate.php?id=223_212 For that price you'll get the answer to much more questions as you start reading the rest of the book ;-) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ _______________________________________________ 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/
