Keko wrote: >Hi all, > >I've to create some PDFs with two 'layers': an image (background), which >is the same for all, and text (foreground), unique for each PDF file. > > Read the image into a PdfImportedPage object. When you create the document, add the PdfImportedPage to each page in an onEndPage event. Add the 'foreground' text either with MultiColumnText or with a sequence of document.add() statements.
>I've seen how to do this in the samples, but i don't know if its >possible to have a template PDF (with the image), and add only the >foreground text. > Haven't I answered this question a few days ago? Anyway: there will be an example on how to do it in chapter 14 of my upcoming book. I have just received the MEAP version in PDF, so I don't think it will be long before it will be available for other iText users too. br, Bruno ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
