Share via


Borders.OutsideLineStyle Property

Returns or sets the outside border for the specified object.

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

Syntax

'Declaration
Property OutsideLineStyle As WdLineStyle
    Get
    Set
'Usage
Dim instance As Borders
Dim value As WdLineStyle

value = instance.OutsideLineStyle

instance.OutsideLineStyle = value
WdLineStyle OutsideLineStyle { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdLineStyle

Remarks

This property can be set to True, False, or a WdLineStyle constant. It returns wdUndefined if more than one kind of border is applied to the specified object; otherwise, False or a WdLineStyle constant.

True sets the line style to the default line style and the line width to the default line width. The default line style and width can be set using the DefaultBorderLineWidth and DefaultBorderLineStyle properties.

See Also

Reference

Borders Interface

Borders Members

Microsoft.Office.Interop.Word Namespace