shoaib ahmad wrote:

Hello
I have a technical question about the usage of iText. I am trying to append pages to an existing pdf file with a PdfStamper object. But what it does is it erases the previous pages and copies the new one. Is there a way to append the pages with PdfStamper in an existing Pdf file.

You want to concatenate two PDF files.
That can be done with PdfCopy (instead of PdfStamper).
If for some reason you want to stick to PdfStamper,
you have to add a new page with method insertPage
and then add the PdfImportedPage objects with
addTemplate.
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

Reply via email to