InlineShapes.AddHorizontalLineStandard(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.