meta4
meta4

Reputation: 736

NovaCode DocX document page count

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

Answers (1)

arame3333
arame3333

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

Related Questions