This project has moved and is read-only. For the latest updates, please go here.

How to get list of sections from Microsoft Word using C#

Mar 26 at 8:46 PM
Hello,
Need help in figuring out a way to get list of sections existing on my Microsoft Word document using C# .NET.

For example if a word document which has sections as follows:

1.Introduction
<Text>
2.Format Data
<Text>
3.Description Text 1 Data
 <Text>
3.1 Détails Text 2 Data
  <Text>
3.2 Tables Text 3
  <Text>
3.3 Figures Text 2
  <Text>
Hope I was able to state the problem clearly, let me know if anything else is required.

Thanks,
S.Atmane