HorizontalLineFormat.WidthType Property (Word)
Returns or sets the width type for the specified HorizontalLineFormat object. Read/write WdHorizontalLineWidthType.
Syntax
expression .WidthType
expression Required. A variable that represents a HorizontalLineFormat object.
Example
This example adds horizontal lines to the active document and compares their width types.
Dim temp As InlineShape
Set temp = _
ActiveDocument.InlineShapes.AddHorizontalLineStandard
MsgBox "AddHorizontalLineStandard - WidthType = " _
& temp.HorizontalLineFormat.WidthType
Set temp = _
ActiveDocument.InlineShapes.AddHorizontalLine _
("C:\My Documents\ArtsyRule.gif")
MsgBox "AddHorizontalLine - WidthType = " _
& temp.HorizontalLineFormat.WidthType