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.
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,
If you need to obtain the page count of already created file, please try using Aspose.Pdf.Kit and refer to:
[http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/Aspose.Pdf.Kit.PdfFileInfo.NumberofPages.html ](http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/Aspose.Pdf.Kit.PdfFileInfo.NumberofPages.html)
Or
http://www.aspose.com/Products/Aspose.Pdf.Kit/Api/Aspose.Pdf.Kit.PdfViewer.PageCount.html
If you need more help, please let us informed.