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

Free Support Forum - aspose.com

PageCount is not right

Hi there


I am using Aspsoe word 16.6.0 to get page count from Word files.
The result seems not right.

My codes bellow will show 19, but actually it is 16 if you open it with MS Word.

Document doc = new Document(“custom/input/docx/word20160725.docx”);
System.out.println(doc.getPageCount());

Please check this, thanks :slight_smile:

Hi Craig,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 16.6.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-13949. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Hi
Is there any progress about this issue?

@craig.w.su,

Thanks for your inquiry. Unfortunately, your issue (WORDSNET-13949) is not resolved yet and there are no estimates available at the moment. Our product team has completed the initial analysis of this issue. However, because of complexity, the implementation of the fix of this issue has been postponed till a later date (no ETA is available). We will inform you via this thread as soon as this issue will be resolved in future. We apologize for your inconvenience.

Best regards,
Awais Hafeez