Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

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

cron