Remarks
The property returns null when the text selection contains multiple paragraphs with different top distances.
The WPF.
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.
public int? TopDistance { get; set; }
Public Property TopDistance() As Nullable(Of Integer)
The property returns null when the text selection contains multiple paragraphs with different top distances.
The WPF.