Hello,
I’ve noticed that document.getPageCount() alters the document itself - it adds the page count number to the document:
Aspose.Words v24.12...docx (15.8 KB) vyacheslav.deryushev...Document doc = new Document("input.docx"); System.out.println(doc.toString(SaveFormat...