InlineShape.HorizontalLineFormat Property

Word Developer Reference

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

Syntax

expression.HorizontalLineFormat

expression   A variable that represents a InlineShape object.

Example

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

Visual Basic for Applications
  ActiveDocument.InlineShapes(1).HorizontalLineFormat _
    .PercentWidth = 50

See Also