Fred Janon wrote: > > You need to learn more about the concepts first. > What concepts?
These concepts: http://www.flickr.com/photos/itextinaction/4330324134/in/set-72157623225579095/ > Where is the book? Here: http://itextpdf.com/book/ For instance this example: http://itextpdf.com/examples/index.php?page=example&id=163 PdfReader ad = new PdfReader(movieAds.fillTemplate(TEMPLATE, movie)); PdfImportedPage page = stamper.getImportedPage(ad, 1); PushbuttonField bt = form.getNewPushbuttonFromField("movie_" + count); bt.setLayout(PushbuttonField.LAYOUT_ICON_ONLY); bt.setProportionalIcon(true); bt.setTemplate(page); form.replacePushbuttonField("movie_" + count, bt.getField()); As already explained PdfImportedPage is a special type of PdfTemplate. I don't think you need to create a PDF file in memory first though, you could as well create the template like this: stamper.getWriter().getOverContent(1).createTemplate(...); -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/