TXTextControl.PageBorder.RightDistance Property

Gets or sets the distance, in twips, of the right border line either from the edge of the page or from the text, depending on the MeasureFromText property.

Syntax

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

Remarks

The property's default value is PageBorder.DefaultDistance.

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.

See Also