Share via


Borders.DistanceFromLeft Property

Returns or sets the space (in points) between the text and the left border.

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

Syntax

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

value = instance.DistanceFromLeft

instance.DistanceFromLeft = value
int DistanceFromLeft { 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 left page border or the space between the left edge of the page and the left page 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