TXTextControl.ParagraphFormat.LineSpacing Property

Specifies the line spacing of a paragraph as a percentage of the font size.


public int LineSpacing { get; set; }
[Visual Basic]
Public Property LineSpacing() As Integer


The property's default value is 100 percent.

The property returns its default value when the text selection contains multiple paragraphs with mixed line spacing. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.


The property's value must be between 1 and 10000 percent (0.01 to 100 lines).

See Also