I have the attached Word document. I instantiate a Document object based on it and I’m trying to get the total pages number. The document has 4 pages, but the document.PageCount is 3. Is this a bug? Why is the PageCount equal to 3 when there are 4 pages in the document?
Hi,
I figured it all out. The problem was that I was previously modifying the section’s PageSetup margins and that made the document content re-organizing on pages. I tested it with 13.4 and it’s ok. My bad.
Thank you for your support.
Hi,