Gets or sets a top paragraph distance, in twips, at the current input position. If text is selected, the property specifies the top distance of the whole selected text.

Syntax

public int? TopDistance { get; set; }
Public Property TopDistance() As Nullable(Of Integer)

Remarks

The property returns null when the text selection contains multiple paragraphs with different top distances.

The WPF.MeasureConverter can be used to convert the property value to another measuring unit.