Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Jan 27, 2011 2:57 am

I want to generate content of my world document to get a good view. But I don't have head title of each section. How can I do it with Spire.Doc?

tomason
 
Posts: 11
Joined: Mon Dec 27, 2010 3:08 am

Thu Jan 27, 2011 10:28 am

Thank you for your inquiry.
You may use the outline level to set the level of each section.
The code:
Code: Select all
paragraph.Format.OutlineLevel = OutlineLevel.Level2;
e-iceblue support
User avatar

iceblue support
 
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.Doc