Re: [iText-questions] PdfWriter.reorderPages failure

2006-07-28 Thread Paulo Soares
Use PdfReader.selectPages(). Paulo - Original Message - From: "Scott Tomer" <[EMAIL PROTECTED]> To: Sent: Thursday, July 27, 2006 3:05 PM Subject: [iText-questions] PdfWriter.reorderPages failure >I am trying to reorder the pages in a PDF document after adding

[iText-questions] PdfWriter.reorderPages failure

2006-07-27 Thread Scott Tomer
I am trying to reorder the pages in a PDF document after adding some extra pages. The following code fails saying that the integer array must be the same size as the number of pages in the document. When I step into the code, I see that it believes that the number of pages in the PdfWriter is 0