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

Free Support Forum - aspose.com


I am trying to generate a report of files contained in a directory.

One aspect of the report is to give a page count for each file.

pdf.PageCount is not available until after save so I am not sure how to achieve this. Any ideas appreciated.

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

If you need to obtain the page count of already created file, please try using Aspose.Pdf.Kit and refer to:




If you need more help, please let us informed.