TXTextControl.ParagraphFormat.TopDistance Property

Gets or sets a top distance, in twips, between this and the previous paragraph.

Syntax

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

Remarks

The property's default value is 0.

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

See Also