Hello,
Thank you for your inquiry.
I have tested the code you provided using the latest version of Spire.Doc (
Spire.Doc Pack(hot fix) Version:11.11.0), and I can confirm that the "LeftIndent" property is working as expected, as shown in the screenshot below.
screenshot.png
Could you please confirm whether you are using the latest version of Spire.Doc for your testing as well? If not, I recommend upgrading to the latest version and retesting the code.
If the issue still exist after updating to the latest version, please provide the following information for our reference. Thanks in advance.
1) Your test environment, such as OS info (E.g. Windows 7, 64-bit) and region setting (E.g. China, Chinese).
2) Your application type, such as Console app (.Net5).
Sincerely
Annika
E-iceblue support team
Login to view the files attached to this post.