-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hello, > > PdfReader reader = new PdfReader(pdfFile); > int pageCount = reader.getNumberOfPages(); > > getNumberOfPages() in above line of code returns > the correct number of pages most of the times, when the document in question > (pdfFile) is a reader 7 PDF document, > But it throws the exception below for reader 8.x PDF documents. > We would need to get page count and we would need to let users use reader 8. > How to get the number of pages off reader 8.x pdf documents? Any help on this > you could provide would be greatly appreciated. >
Could you forward a pdf that shows this behavior? Which iText version are you using? Xavier - -- Xavier Le Vourch Brittany Software, Inc. <[EMAIL PROTECTED]> PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc Key fingerprint: 73B3 6370 B8C5 4325 F2D8 4115 0372 5805 896C 5947 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQiJnA3JYBYlsWUcRAl37AJ9UzkSNYFu4EAbJRdulyXXF9qgfHwCeLm+s usTvuarPqr2YFvN1ajfm/O8= =8S0G -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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/
