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 09, 2020 3:19 am

I'm confused about your unit with doc setting.
for FirstLineIndent,which unit this property use? i want to have a 2 character indent,how to set?
for BeforeSpacing,which unit this property use? i want to have a 1.5 line spacing,how to set?
Is there a formula i can use to convert character or line or pound to your property's unit?

standheo
 
Posts: 24
Joined: Mon Oct 08, 2018 11:13 am

Thu Jan 09, 2020 8:09 am

Hi,

Thanks for your inquiry.
The default unit in Spire.Doc is point. If you want to use other unit, you need to translate it by yourself. And sorry that there is no formula provided by Spire.Doc to translate it.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc