Bewerken

Delen via


Border.LineWidth Property

Definition

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

public:
 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; }
member this.LineWidth : Microsoft.Office.Interop.Word.WdLineWidth with get, set
Public Property LineWidth As WdLineWidth

Property Value

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).

Applies to