officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphpropertiesbase-46d9356f.md
Gets or sets a paragraph’s left indent.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
float? LeftIndent { get; set; }
Property LeftIndent As Single?
| Type | Description |
|---|---|
| Nullable<Single> |
The left indent measured in Document.Unit units or null ( Nothing in Visual Basic) for a mixture of paragraphs with different indents.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the LeftIndent property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/List.cs#L24
ListLevel level = list.Levels[0];
level.ParagraphProperties.LeftIndent = 100;
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/ListActions.cs#L24
ListLevel level = list.Levels[0];
level.ParagraphProperties.LeftIndent = 100;
winforms-rich-edit-text-formatting/CS/Text Formatting Example/Form1.cs#L73
//Default unit is 1/300 of an inch (a document unit).
titleParagraphFormatting.LeftIndent = Units.InchesToDocumentsF(0.5f);
titleParagraphFormatting.SpacingAfter = Units.InchesToDocumentsF(0.3f);
word-document-api-examples/CS/CodeExamples/ListsActions.cs#L38
// Specify the left indent of the level's paragraph.
level.ParagraphProperties.LeftIndent = 100;
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/List.vb#L21
Dim level As DevExpress.XtraRichEdit.API.Native.ListLevel = list.Levels(0)
level.ParagraphProperties.LeftIndent = 100
'Specify the bullets' format
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/ListActions.vb#L21
Dim level As ListLevel = list.Levels(0)
level.ParagraphProperties.LeftIndent = 100
word-document-api-examples/VB/CodeExamples/ListsActions.vb#L34
' Specify the left indent of the level's paragraph.
level.ParagraphProperties.LeftIndent = 100
' Specify the format of bullets.
winforms-rich-edit-text-formatting/VB/Text Formatting Example/Form1.vb#L69
'Default unit is 1/300 of an inch (a document unit).
titleParagraphFormatting.LeftIndent = Units.InchesToDocumentsF(0.5F)
titleParagraphFormatting.SpacingAfter = Units.InchesToDocumentsF(0.3F)
See Also
BeginUpdateParagraphs(DocumentRange)
EndUpdateParagraphs(ParagraphProperties)
ParagraphPropertiesBase Interface