Share via


Borders.DistanceFrom Property

Returns or sets a value that indicates whether the specified page border is measured from the edge of the page or from the text it surrounds.

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

Syntax

'Declaration
Property DistanceFrom As WdBorderDistanceFrom
    Get
    Set
'Usage
Dim instance As Borders
Dim value As WdBorderDistanceFrom

value = instance.DistanceFrom

instance.DistanceFrom = value
WdBorderDistanceFrom DistanceFrom { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdBorderDistanceFrom

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.Word Namespace