PDF Page Count using CDIntfEx.document ??

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
MikeBrungs
Posts: 2
Joined: Wed Sep 05 2007

PDF Page Count using CDIntfEx.document ??

Post by MikeBrungs »

We use the PDFConverter within our product; However, if the source document is already a PDF, we bypass the converter. We do however need to know how many pages were in the PDF. We were hoping to CDIntfEx.document to retrieve this value, but it appears to struggle with certain PDFs and large PDFs appear to be problematic as well. We are using version 2.10 but have version 3.0 on order.

Couple questions:

1) Is there a better way to get the PDF page count ?
2) Might this work better with version 3.0 ?

Mike Brungs
MedPlus Inc.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Version 2.10 is quite old and there are some files that are not supported in 2.10 and that are supported in the new version 3.01.

I suggest that you try the new version for your files.

You can use the PageCount method of CDIntf.Document to get the number of pages in a pdf file.
Post Reply