Hello,
I’ve noticed that Document.getPageCount() alters the Document itself - it adds the page count number To the Document:
Aspose.Words v24.12...looks like this: Doc Report22_06_2025(6).docx (15.8 KB) vyacheslav...code: Document doc = new Document("input.docx"); System.out.println(doc...