Thomas Kuechenthal wrote: > I have an existing PDF that contains pure text information. > > I have a second PDF that I use as a letterhead.(It contains a header, a > footer, and a watermark in the middle of the document) > > With Acrobat 6.0, I can insert the PDF-Letterhead as a background onto > the existing Text-PDF. > > Can I do this with iText also?
Yes. > I have tried to add images as watermarks, that works very well. But how > about adding PDFs as background? Look for PdfImportedPage. It extends PdfTemplate. PdfTemplate can be wrapped in an Image, but it's not necessary to do so. Have a look at this example from chapter 14 of 'iText in Action' (available as eBook tomorrow): http://itext.ugent.be/itext-in-action/examples/chapter14/SimpleLetter.java Note that in this example, the background is added to a layer that is shown on the screen, but not printed on paper. Just remove everything with not_printed (don't forget to remove beginLayer and endLayer 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 iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions