Border.LineWidth Border.LineWidth Border.LineWidth Property


Returns or sets the line width of an object's border.

 property Microsoft::Office::Interop::Word::WdLineWidth LineWidth { Microsoft::Office::Interop::Word::WdLineWidth get(); void set(Microsoft::Office::Interop::Word::WdLineWidth value); };
public Microsoft.Office.Interop.Word.WdLineWidth LineWidth { get; set; }
Public Property LineWidth As WdLineWidth
Property Value


Returns a WdLineWidth constant or wdUndefined if the object either has no borders or has borders with more than one line width.

If the specified line width isn't available for the border's line style, this property generates an error. To determine the line widths available for a particular line style, see the Borders and Shading dialog box (Format menu).

Applies to