[email protected] wrote: > Thanks! It works! > Then when do I use PdfStamper, if writer will give me similar functionality? > I thought that writer could just import and could not modify the imported > pages.
You can't add stuff to the PdfImportedPage, but you can add extra content to the PdfWriter. > That's why PdfStamper exists, so user could modify the imported pages. No, PdfStamper is to be used when you have one PDF document on which you want to stamp things. You can also use PdfStamper to fill in form fields. Or if you want to encrypt/sign an existing PDF file. >>From http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php > "If you want to change the contents of one existing PDF file and add extra > content such as watermarks, pagenumbers, extra headers,... PdfStamper is the > object you need." Exactly! -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
