We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pdf PageCount

Is there a way to get the total number of pages in a pdf object?

TIA,

Clif...

Hi,

Thank you for considering Aspose.

I am afraid that this feature is not supported in Aspose.Pdf for Java. It is supported in another Aspose library named as Aspose.Pdf.Kit, please refer to : http://www.aspose.com/Products/Aspose.Pdf.Kit/JavaDoc/com/aspose/pdf/kit/PdfFileInfo.html#getNumberofPages()

Thanks.