officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphpropertiesbase-d2aea519.md
Gets or sets a value specifying the indent of the first line of a paragraph.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
float? FirstLineIndent { get; set; }
Property FirstLineIndent As Single?
| Type | Description |
|---|---|
| Nullable<Single> |
A Single value specifying the indent of the first line measured in Document.Unit units or null ( Nothing in Visual Basic), for a mixture of paragraphs with different indents.
|
If the FirstLineIndentType is set to ParagraphFirstLineIndent.None, the FirstLineIndent property has no effect.
The following code snippets (auto-collected from DevExpress Examples) contain references to the FirstLineIndent 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-rich-edit-text-formatting/CS/Text Formatting Example/Form1.cs#L139
annotationStyle.FirstLineIndentType = ParagraphFirstLineIndent.Hanging;
annotationStyle.FirstLineIndent = 3;
document.ParagraphStyles.Add(annotationStyle);
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/List.cs#L58
level.ParagraphProperties.FirstLineIndentType = ParagraphFirstLineIndent.Hanging;
level.ParagraphProperties.FirstLineIndent = 75;
level.Start = 1;
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/ListActions.cs#L59
level.ParagraphProperties.FirstLineIndentType = ParagraphFirstLineIndent.Hanging;
level.ParagraphProperties.FirstLineIndent = 75;
level.Start = 1;
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/List.vb#L47
level.ParagraphProperties.FirstLineIndentType = DevExpress.XtraRichEdit.API.Native.ParagraphFirstLineIndent.Hanging
level.ParagraphProperties.FirstLineIndent = 75
level.Start = 1
winforms-rich-edit-text-formatting/VB/Text Formatting Example/Form1.vb#L131
annotationStyle.FirstLineIndentType = ParagraphFirstLineIndent.Hanging
annotationStyle.FirstLineIndent = 3
document.ParagraphStyles.Add(annotationStyle)
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/ListActions.vb#L55
level.ParagraphProperties.FirstLineIndentType = ParagraphFirstLineIndent.Hanging
level.ParagraphProperties.FirstLineIndent = 75
level.Start = 1
word-document-api-examples/VB/CodeExamples/ListsActions.vb#L66
level.ParagraphProperties.FirstLineIndentType = DevExpress.XtraRichEdit.API.Native.ParagraphFirstLineIndent.Hanging
level.ParagraphProperties.FirstLineIndent = 75
level.Start = 1
See Also
BeginUpdateParagraphs(DocumentRange)
EndUpdateParagraphs(ParagraphProperties)
ParagraphPropertiesBase Interface