todd.patterson, todd.patterson wrote > here is the new code that releases the pdf files I had to add reader.close > ()
Hhmmm, you now open and close the PdfReader for each individual page of each PDF. For each file to import, you had better 1. create a PdfReader for the current source file 2. import all pages of that reader in a loop 3. close the PdfReader Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Merge-PDF-File-release-tp4658071p4658099.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php