Christian wrote: > Hi > > I need to insert actual page number in a Paragraph, I’ve seen for add > actual page number you need to use PdfTemplate and onEndPage event. > > My problem is PdfTemplate needs absolute position, instead a Paragraph > has a relative position. > > How can I write Actual Page into a Paragraph?
You can wrap a PdfTemplate inside an image. Add the image to a paragraph (you could wrap it inside a Chunk). Another possibility is to add an empty Chunk, and fill it with the page number in a generic chunk event. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php 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/
