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 application involves getting the number of pages for a pdf and profiling my application reveals that I spend a lot of time in the above lines…..

 

Thanks for your comments/suggestions.

 

Ricardo

 


____________________________________________________________

• This email and any files transmitted with it are CONFIDENTIAL and intended
solely for the use of the individual or entity to which they are addressed.
• Any unauthorized copying, disclosure, or distribution of the material within
this email is strictly forbidden.
• Any views or opinions presented within this e-mail are solely those of the
author and do not necessarily represent those of Odyssey Asset Management
Systems SA unless otherwise specifically stated.
• An electronic message is not binding on its sender. Any message referring to
a binding engagement must be confirmed in writing and duly signed.
• If you have received this email in error, please notify the sender immediately
and delete the original.
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to