1

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.

meta4
  • 788
  • 1
  • 10
  • 24

1 Answers1

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