officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphpropertiesbase-4b4f14f4.md
Gets or sets the multiplier used to calculate the line spacing value.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
float? LineSpacingMultiplier { get; set; }
Property LineSpacingMultiplier As Single?
| Type | Description |
|---|---|
| Nullable<Single> |
Line spacing multiplier or null ( Nothing in Visual Basic), for a mixture of paragraphs with different line spacings.
|
The LineSpacingMultiplier property is used when the LineSpacingType property is set to ParagraphLineSpacing.Multiple.
The following code snippets (auto-collected from DevExpress Examples) contain references to the LineSpacingMultiplier 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#L137
annotationStyle.Alignment = ParagraphAlignment.Right;
annotationStyle.LineSpacingMultiplier = 1.5f;
annotationStyle.FirstLineIndentType = ParagraphFirstLineIndent.Hanging;
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Formatting.cs#L66
pp.LineSpacingType = ParagraphLineSpacing.Multiple;
pp.LineSpacingMultiplier = 3;
// Set left indent at 0.5".
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/FormattingActions.cs#L53
pp.LineSpacingType = ParagraphLineSpacing.Multiple;
pp.LineSpacingMultiplier = 3;
// Set left indent at 0.5".
winforms-rich-edit-text-formatting/VB/Text Formatting Example/Form1.vb#L129
annotationStyle.Alignment = ParagraphAlignment.Right
annotationStyle.LineSpacingMultiplier = 1.5F
annotationStyle.FirstLineIndentType = ParagraphFirstLineIndent.Hanging
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Formatting.vb#L59
pp.LineSpacingType = DevExpress.XtraRichEdit.API.Native.ParagraphLineSpacing.Multiple
pp.LineSpacingMultiplier = 3
' Set left indent at 0.5".
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/FormattingActions.vb#L48
pp.LineSpacingType = ParagraphLineSpacing.Multiple
pp.LineSpacingMultiplier = 3
' Set left indent at 0.5".
word-document-api-examples/VB/CodeExamples/FormattingActions.vb#L106
pp.LineSpacingType = DevExpress.XtraRichEdit.API.Native.ParagraphLineSpacing.Multiple
pp.LineSpacingMultiplier = 3
' Set the paragraph’s left indent to 0.5 document unit.
See Also
BeginUpdateParagraphs(DocumentRange)
EndUpdateParagraphs(ParagraphProperties)
ParagraphPropertiesBase Interface