chetan Allipur

chetan Allipur

  • NA
  • 541
  • 168.8k

How to get Numbered Headings as in word using c# code.

May 4 2017 8:07 AM
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.

Answers (2)