Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ await documentEditor.Editor.ToggleTextAlignmentAsync(TextAlignment.Center);
You can define the line spacing and its type for selected paragraphs using the following sample code.

```csharp
// Set line spacing type
await documentEditor.Selection.ParagraphFormat.SetLineSpacingTypeAsync(LineSpacingType.AtLeast);
await documentEditor.Selection.ParagraphFormat.SetLineSpacingAsync(6);
// Set line spacing value (supports both integer and float)
await documentEditor.Selection.ParagraphFormat.SetLineSpacingAsync(6); // Integer value
await documentEditor.Selection.ParagraphFormat.SetLineSpacingAsync(6.5); // Float value
```

## Paragraph spacing
Expand Down