Read number of pages in PDF

1 view (last 30 days)
K Kallerhoff
K Kallerhoff on 3 Jun 2013
Hi, I need to read the numer of pages in a PDF file, is that possible?
Greetings Kay

Answers (1)

Jan
Jan on 3 Jun 2013
This is not tivial in pure Matlab, because PDFs can be stored in an encrypted and compressed way.
Of course there are other tools, which can open the PDF, e.g. Acrobat Reader. This can be contacted via ActiveX to reply the number of pages. You find the corresponding methods and a lot of other related tools, when you search in the net: http://lmgtfy.com/?q=count+number+of+pages+PDF

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!