I am preparing a word document using C#.I am using Microsoft.Office.Interop.Word.I got stuck while numbering the paragraphs.
Suppose I have to print like this in the word document.
1. Heading1
some text is here
1.1 Sub heading1
some text is here
1.1.1 Sub heading2
some text is here
2. Heading2
some text is here
Please help me. I have tried so many things but not able to do that.
How to get Numbered Headings as in word using c# code.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Madhanmohan DevarajanRank #342 · 7.3K reputationPosted May 4, 2017, 5:32 AM EDT
chetan AllipurRank #2,527 · 554 reputationPosted May 4, 2017, 8:14 PM EDT