Alejandro Camarena Pozos wrote: > Hi, I'm trying to create a template in the current writing position, I > need it to use it later for a calculated value in the document. The use > is for a text in wich I'll be showing the pages of a certain section of > the document in a way of attachment, like: "Attachment 1: 3 pages.", but > the attachment will be generated after the main document in the same pdf > file. The text can't be filled in an absolute position, because it > depends on the amount of lines before it. Can anybody help me?
Wrap the PdfTemplate inside an image. Add the image with document.add(); or wrap the Image inside a Chunk. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ 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/
