Partager via


HorizontalLineFormat.Alignment Property

Returns or sets a WdHorizontalLineAlignment constant that represents the alignment for the specified horizontal line.

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

Syntax

'Declaration
Property Alignment As WdHorizontalLineAlignment
    Get
    Set
'Usage
Dim instance As HorizontalLineFormat
Dim value As WdHorizontalLineAlignment

value = instance.Alignment

instance.Alignment = value
WdHorizontalLineAlignment Alignment { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdHorizontalLineAlignment

See Also

Reference

HorizontalLineFormat Interface

HorizontalLineFormat Members

Microsoft.Office.Interop.Word Namespace