Read number of pages in PDF

Hi, I need to read the numer of pages in a PDF file, is that possible?
Greetings Kay

Risposte (1)

Jan
Jan il 3 Giu 2013

0 voti

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

Tag

Richiesto:

il 3 Giu 2013

Community Treasure Hunt

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

Start Hunting!

Translated by