5
Answers

How to get Numbered Heading list in word using VSTO.

I can get only heading without Number.
 
Here is my code.
 
Selection wordSelection = Globals.ThisAddIn.Application.Selection;
wordSelection.set_Style(WdBuiltinStyle.wdStyleHeading1);
 
But How can I get Numbered Headings. Please anyone can send me the code.It is urgent for me now..
I want like
 
1 Heading
 
   1.1   Heading
 
           1.1.1 Heading 
 
Like this Please send me the code..I am wating. 
Answers (5)
0
Rajkiran Swain

Rajkiran Swain

NA 33.9k 373.3k 7y
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-host-a-wcf-service-in-iis
0
Satyaprakash Samantaray

Satyaprakash Samantaray

NA 9.7k 1.1m 7y
http://wcftutorial.net/wcf-iis-hosting.aspx
0
Satyaprakash Samantaray

Satyaprakash Samantaray

NA 9.7k 1.1m 7y
https://www.tutorialspoint.com/wcf/wcf_iis_hosting.htm
0
Satyaprakash Samantaray

Satyaprakash Samantaray

NA 9.7k 1.1m 7y
https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-host-a-wcf-service-in-iis