I was able to accomplish this by writing the new document to a byte array and then using the PdfCopyFields functionality to attach the new doc to the existing doc. I guess it pays to look at the examples carefully :)
Thanks, Lenny Lenny wrote: > > I have an existing PDF template that I want to add content to dynamically > (as new pages at the end of the template). The new content is a PdfPTable, > which I am successfully generating. I can read in the existing > template and generate the PdfPTable but I don't know how to attach the > datatable to the existing document. > > Thanks, > Lenny > -- View this message in context: http://www.nabble.com/Adding-content-to-existing-PDF-tf3377918.html#a9402216 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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/