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

Syntax

public int TopDistance { get; set; }
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.