Be careful using addtemplate. See http://article.gmane.org/gmane.comp.windows.dotnet.itextsharp.general/1407 Best regards, Carsten
David Powell schrieb: > What is the best/recommended method to add a new page to a large PDF > document? I want to add pages at the begin and at the end of the > document. I am thinking about using the following steps, but I am not > sure this is the best approach: > 1. Create a new Document > 2. Add new pages using Document.newPage(). > 3. Import pages from the existing PDF document and add them those as > templates. > > Is this the best approach? If not, what is the best way of accomplishing > this? > > Thanks. > > -- > David > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/