Partager via


DisplayUnitLabel.HorizontalAlignment Property

Returns or sets the horizontal alignment for the specified object. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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

Remarks

You can set the value of this property to one of the following XlConstants constants:

xlCenter

xlDistributed

xlJustify

xlLeft

xlRight

Some of these constants may not be available to you, depending on the language support (for example, U.S. English) that you have selected or installed.

See Also

Reference

DisplayUnitLabel Interface

DisplayUnitLabel Members

Microsoft.Office.Interop.PowerPoint Namespace