Adds a horizontal line based on an image file to the current document.
Syntax
expression.AddHorizontalLine(FileName, Range)
expression Required. An expression that returns an InlineShapes object.
FileName Required String. The file name of the image you want to use for the horizontal line.
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 that isn't based on an existing image file, use the AddHorizontalLineStandard method.