Re: [iText-questions] Quickest way to get number of pages in a PDF file

2006-06-08 Thread java.jago
Ricardo Coutinho wrote: > Hi all, > > > > Currently I use the following code to get the number of pages for a PDF….. > > > > …. > > documentReader = new PdfReader(document.getData()); > > documentReader.getNumberOfPages(); > > … > > > > What I want to know is; Is there a quicker way

Re: [iText-questions] Quickest way to get number of pages in a PDF file

2006-06-07 Thread Leonard Rosenthol
At 11:53 AM 6/7/2006, Ricardo Coutinho wrote: >Currently I use the following code to get the number of pages for a PDF….. > >documentReader = new PdfReader(document.getData()); >documentReader.getNumberOfPages(); That's the way to do it! >What I want to know is; Is there a quicker way

Re: [iText-questions] Quickest way to get number of pages in a PDF file

2006-06-07 Thread Paulo Soares
nesday, June 07, 2006 4:53 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Quickest way to get number of > pages in a PDF file > > Hi all, > > > > Currently I use the following code to get the number of pages > for a PDF. > &

[iText-questions] Quickest way to get number of pages in a PDF file

2006-06-07 Thread Ricardo Coutinho
Hi all,   Currently I use the following code to get the number of pages for a PDF…..   …. documentReader = new PdfReader(document.getData()); documentReader.getNumberOfPages(); …   What I want to know is; Is there a quicker way to get this information? Part of the processing in my