DataLabels.HorizontalAlignment Property
Returns or sets the horizontal alignment for the specified object. Read/write Object.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property HorizontalAlignment As Object
Get
Set
'Usage
Dim instance As DataLabels
Dim value As Object
value = instance.HorizontalAlignment
instance.HorizontalAlignment = value
Object HorizontalAlignment { get; set; }
Property Value
Type: System.Object
Remarks
The following constants can be used:
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.