We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Why does firstLineIndent have to be -20 ?

Thread ID:

Created:

Updated:

Platform:

Replies:

146127 Jul 19,2019 11:38 AM UTC Jul 22,2019 04:51 PM UTC ASP.NET Core - EJ 2 1
loading
Tags: Presentation
Stephan Weber
Asked On July 19, 2019 11:38 AM UTC

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. 

And it also says I have to set it to -20. 

Regards.

Vijayasurya Anandhan [Syncfusion]
Replied On 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,
 
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
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon