Gets or sets the width of the top border line. If this property's value is zero there is no top border line. Otherwise it is a value in twips.

Syntax

public int TopLineWidth { get; set; }
Public Property TopLineWidth() As Integer

Remarks

The property's default value is 0.

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