- Home
- Forum
- ASP.NET Core - EJ 2
- Why does firstLineIndent have to be -20 ?
Why does firstLineIndent have to be -20 ?
Hello,
i´m currently implementing a PPTX with .NET Core and Syncfusion Presentation 17.2.0.35.
The PPTX is supposed to create a list with bullets. This list can have multiple levels, which the paragraph IndentLevelNumber should support.
But here comes the problem:
If I do not set the FirstLineIndent to -20, the text of the paragraph will continue to write under the bullet after a line break... why?
I need to edit the Indent of a Bullet but it seems like FirstLineIndent has to be set to -20 and has no other effect.
If it is set to -20 the text writes under each other as expected after a line break.
I checked this document of yours https://help.syncfusion.com/file-formats/presentation/working-with-list
And it also says I have to set it to -20.
Regards.
SIGN IN To post a reply.
1 Reply
VA
Vijayasurya Anandhan
Syncfusion Team
July 22, 2019 04:51 PM UTC
Hi Steffen,
Thank you for contacting Syncfusion support.
Syncfusion Presentation library provided a support to modify the indent of a paragraph similar to Microsoft PowerPoint. Please find the below API details,
Thank you for contacting Syncfusion support.
Syncfusion Presentation library provided a support to modify the indent of a paragraph similar to Microsoft PowerPoint. Please find the below API details,
|
Microsoft PowerPoint Screenshot |
Syncfusion API |
Syncfusion API Details |
|
|
FirstLineIndent property is used to set a special indent of a paragraph such as (First line indent and Hanging Indent). This property works similar to highlighted property in a Microsoft PowerPoint screenshot.
FirstLineIndent property is act as First line indent if you set a positive value and it act as Hanging indent if you set an negative values. | |
|
|
LeftIndent property is used to set a Before text indent of a paragraph. This property works similar to highlighted property in a Microsoft PowerPoint screenshot. |
If I do not set the FirstLineIndent to -20, the text of the paragraph will continue to write under the bullet after a line break... why?
As per the Microsoft PowerPoint behavior, If we set an hanging indent 20 (FirstLineIndent = -20) to the bullet contained paragraph with some left indent values, It moves a bullet character alone in left side from a left indent value. (Paragraph remains its position).
If we set first line indent 20 (FirstLineIndent = 20) to the bullet contained paragraph with some left indent values, It moves a first line of paragraph alone in right side from a left indent value. (Bullet character remains its position).
I need to edit the Indent of a Bullet, but it seems like FirstLineIndent has to be set to -20 and has no other effect. If it is set to -20 the text writes under each other as expected after a line break.
You can able to customize the indent of an bullet from a paragraph by modifying the values of our FirstLineIndent and LeftIndent properties similar to Microsoft PowerPoint.
Please let us know if you need any further assistances in this.
Regards,
Vijayasurya A
I need to edit the Indent of a Bullet, but it seems like FirstLineIndent has to be set to -20 and has no other effect. If it is set to -20 the text writes under each other as expected after a line break.
You can able to customize the indent of an bullet from a paragraph by modifying the values of our FirstLineIndent and LeftIndent properties similar to Microsoft PowerPoint.
Please let us know if you need any further assistances in this.
Regards,
Vijayasurya A
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
SW Stephan Weber
- Jul 19, 2019 11:38 AM UTC
- Jul 22, 2019 04:51 PM UTC