Hi,
I’m trying to get the number of pages in a Word document and the returned number is always wrong i.e. much to low.
Document doc = new Document(fileName);
doc.updatePageLayout();
int pageCount = doc.getPageCount();
There are 34 pages in document when opening in Word and pageCount is 11.
tested with Aspose.Words (Java) 15.10