InlineShapes.AddHorizontalLineStandard(Object) Method

Definition

Adds a horizontal line to the current document.

public Microsoft.Office.Interop.Word.InlineShape AddHorizontalLineStandard (ref object Range);
abstract member AddHorizontalLineStandard : obj -> Microsoft.Office.Interop.Word.InlineShape
Public Function AddHorizontalLineStandard (Optional ByRef Range As Object) As InlineShape

Parameters

Range
Object

Optional Object. The range above which Microsoft Word places the horizontal line. If this argument is omitted, Word places the horizontal line above the current selection.

Returns

Remarks

To add a horizontal line based on an existing image file, use the AddHorizontalLine(String, Object) method.

Applies to