Border.LineWidth Property
Returns or sets the line width of an object's border.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property LineWidth As WdLineWidth
Get
Set
'Usage
Dim instance As Border
Dim value As WdLineWidth
value = instance.LineWidth
instance.LineWidth = value
WdLineWidth LineWidth { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdLineWidth
Remarks
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).