Share via


HorizontalLineFormat.PercentWidth Property

Returns or sets the length of the specified horizontal line expressed as a percentage of the window width.

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

Syntax

'Declaration
Property PercentWidth As Single
    Get
    Set
'Usage
Dim instance As HorizontalLineFormat
Dim value As Single

value = instance.PercentWidth

instance.PercentWidth = value
float PercentWidth { get; set; }

Property Value

Type: System.Single

Remarks

Setting this property also sets the WidthType property to wdHorizontalLinePercentWidth.

See Also

Reference

HorizontalLineFormat Interface

HorizontalLineFormat Members

Microsoft.Office.Interop.Word Namespace