raybristol wrote: > Thank you very much for your reply, one more question: Can I delete pages > directly form a given pdf file then? maybe that way I can keep that meta > information.
Yes, there's a method selectPages in PdfReader: http://1t3xt.info/api/com/lowagie/text/pdf/PdfReader.html#selectPages(java.lang.String) After you've defined the page range, use PdfStamper to create the PDF document containing only the selected pages. There's an example in chapter 2 of the book (you'll also find the syntax to define the selection in the book). -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
