Hello,
I’ve noticed that document.getPageCount() alters the document itself - it adds the Page Count number to the document:
Aspose.Words v24.12...document itself - it adds the page count number to the document: 1397×389...expected behavior. The last page is 3, so you see 3 in the output...