Partager via


DisplayUnitLabel.HorizontalAlignment Property

Returns or sets an Object value that represents the horizontal alignment for the specified object.

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

Syntax

'Declaration
Property HorizontalAlignment As Object
    Get
    Set
'Usage
Dim instance As DisplayUnitLabel
Dim value As Object

value = instance.HorizontalAlignment

instance.HorizontalAlignment = value
Object HorizontalAlignment { get; set; }

Property Value

Type: System.Object
Returns Object.

Remarks

The value of this property can be set to one of the XlConstants constants.

Note: Some of the XlConstants constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

See Also

Reference

DisplayUnitLabel Interface

DisplayUnitLabel Members

Microsoft.Office.Interop.Word Namespace