Share via


DataLabel.HorizontalAlignment Property

Returns or sets a Variant value that represents the horizontal alignment for the specified object.

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 DataLabel
Dim value As Object

value = instance.HorizontalAlignment

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

Property Value

Type: System.Object

Remarks

The value of this property can be set to one of the following [XlConstants#SameCHM] constants:

xlCenter

xlDistributed

xlJustify

xlLeft

xlRight

Some of these 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

DataLabel Interface

DataLabel Members

Microsoft.Office.Interop.PowerPoint Namespace