Border.LineStyle Property
Returns or sets the border line style for the specified object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property LineStyle As WdLineStyle
Get
Set
'Usage
Dim instance As Border
Dim value As WdLineStyle
value = instance.LineStyle
instance.LineStyle = value
WdLineStyle LineStyle { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdLineStyle
Remarks
Setting the LineStyle property for a range that refers to individual characters or words applies a character border.
Setting the LineStyle property for a paragraph or range of paragraphs applies a paragraph border. Use the InsideLineStyle property to apply a border between consecutive paragraphs.
Setting the LineStyle property for a section applies a page border around the pages in the section.