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.

Fri Jan 07, 2011 9:20 am

In the demo of how to indent paragraph of Spire.Doc, may I set the indent distance of the paragraph?

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

Fri Jan 07, 2011 9:24 am

Thank you for your inquiry. Of course you can set the indent distance of the paragraph. You can set the disrance by assigning paragraph.ListFormat.CurrentListLevel.NumberPosition property, for example:
paragraph.ListFormat.CurrentListLevel.NumberPosition = -10;
e-iceblue support
User avatar

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

Return to Spire.Doc