Share via


HorizontalLineFormat Property

Returns a HorizontalLineFormat object that contains the horizontal line formatting for the specified InlineShape object. Read-only.

Example

This example sets the length of the specified horizontal line to 50% of the window width.

ActiveDocument.InlineShapes(1).HorizontalLineFormat _
    .PercentWidth = 50

Applies to | InlineShape Object

See Also | AddHorizontalLine Method | AddHorizontalLineStandard Method