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.

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?

tomason
 
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