Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

WdHorizontalLineWidthType Enumeration

Specifies how Word interprets the width (length) of the specified horizontal line.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

'Declaration
Public Enumeration WdHorizontalLineWidthType
'Usage
Dim instance As WdHorizontalLineWidthType

Member nameDescription
wdHorizontalLinePercentWidthWord 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.
wdHorizontalLineFixedWidthMicrosoft 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.
Show:
© 2016 Microsoft