Is there any way to get number of pages from Novacode Docx document? So far I found a lot of properties none of which is page count.
Asked
Active
Viewed 1,156 times
1 Answers
1
I do not know if this is what you intend to do, but one way is via the paragraph object:
para.Append("Page ").AppendPageNumber(PageNumberFormat.normal);
para.Append(" | ").AppendPageCount(PageNumberFormat.normal);

arame3333
- 9,887
- 26
- 122
- 205
-
This works. i've used it. Don't know why this is not an accepted answer! – Nmaster88 May 21 '17 at 21:22