AddHorizontalLineStandard Method

See Also         Example         Applies To

Adds a horizontal line to the current document.

Syntax

expression.AddHorizontalLineStandard(Range)

expression   Required. An expression that returns an InlineShapes object.

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

Remarks

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