Border.LineStyle Property

Definition

Returns or sets the border line style for the specified object.

public:
 property Microsoft::Office::Interop::Word::WdLineStyle LineStyle { Microsoft::Office::Interop::Word::WdLineStyle get(); void set(Microsoft::Office::Interop::Word::WdLineStyle value); };
public Microsoft.Office.Interop.Word.WdLineStyle LineStyle { get; set; }
member this.LineStyle : Microsoft.Office.Interop.Word.WdLineStyle with get, set
Public Property LineStyle As WdLineStyle

Property Value

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.

Applies to