WdHorizontalLineWidthType enumeration (Word)
Specifies how Word interprets the width (length) of the specified horizontal line.
Name | Value | Description |
---|---|---|
wdHorizontalLineFixedWidth | -2 | Microsoft Word interprets the width (length) of the specified horizontal line as a fixed value (in points). This is the default value for horizontal lines added with the AddHorizontalLine method. Setting the Width property for the InlineShape object associated with a horizontal line sets the WidthType property to this value. |
wdHorizontalLinePercentWidth | -1 | Word interprets the width (length) of the specified horizontal line as a percentage of the screen width. This is the default value for horizontal lines added with the AddHorizontalLineStandard method. Setting the PercentWidth property on a horizontal line sets the WidthType property to this value. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.