Reputation: 736
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.
Upvotes: 1
Views: 1197
Reputation: 10193
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);
Upvotes: 1