Is there any way to get pagecount without opening pdf ?

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
kamleshvgujarathi
Posts: 39
Joined: Fri Jan 09 2004
Location: Bombay ( INDIA)
Contact:

Is there any way to get pagecount without opening pdf ?

Post by kamleshvgujarathi »

Hello ,

Is there any way to get pagecount of pdf without opening
of the pdf file ?

Because if I open each pdf and take page count and in 10 pdf
case it takes time.

I have tested this one with 10 pdf files and each pdf had 100 pages

this is simple test I had done but in case of large pdf what will happen

Please suggest me solution

Thanks

Kamlesh@itshastra.com
---------------------------
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Unfotunately, there is no way to call .PageCount without opening the document.

You need to open the document first than call page count.

Also opening the document shouldn't be time consuming, you can send us your document to support@amyuni.com to check why is it taking too much time to open.

Thanks.
Post Reply