Document returns wrong page count - why?

Hi


We use aspose.words and pdf for one of our customers, and i need the number of pages to determine which sections to keep in the final document. This seems to work good most of the time, but we have som instances where aspose.words returns wrong pagecount.

I have tried with version 14.10.0.0 and the latest one, which is 15.1.0.0, but both versions returns 2 instead of 3. I have added a image to illustrate the problem, but the text are removed for confidentiality.

Please help me.

Regards,
Anders Wang Salbu


Hi Anders,


Thanks for your inquiry. Could you please attach your input Word document here for testing? We will investigate the issue on our end and provide you more information.

Best regards,

Hi again.


We have now tracked it down to a word issue and not an Aspose issue. The same document shows 2 pages in wordclient and 3 pages in another. Seems like the pagecount of 2 is correct.

Sorry for the inconvinience.

Have a nice day.

Regards.
Anders Wang Salbu
Hi Anders,

Thanks for your inquiry. It is great you were able to find what you were looking for. Please let us know any time you have any further queries.

Best regards,