Share via


Borders.DistanceFromRight Property

Returns or sets the space (in points) between the right edge of the text and the right border.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property DistanceFromRight As Integer
    Get
    Set
'Usage
Dim instance As Borders
Dim value As Integer

value = instance.DistanceFromRight

instance.DistanceFromRight = value
int DistanceFromRight { get; set; }

Property Value

Type: System.Int32

Remarks

Using this property with a page border, you can set either the space between the text and the right border or the space between the right edge of the page and the right border. Where the distance is measured from depends on the value of the DistanceFrom property.

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.Word Namespace