Free Support Forum -

MSWord getPageCount functionality

Dear Team,

I’m using the function getPageCount for a document to read the number of pages. For some document it reads correctly but for some it reads less than exists.

I’m using aspose in Java.

Kindly let me know the way to use page count functionality so that it’ll read all the documents in same way and kindly let me know how to handle page breaks in MS word to make this function works uniformly.

Thanks for your support.


Hi Siva,

Thanks for your inquiry.

Could you please attach your document here for testing? We will take a look into it and provide you with some feedback.