Share via


TickLabels.Alignment Property

Returns or sets the alignment for the specified tick label.

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

Syntax

'Declaration
Property Alignment As Integer
    Get
    Set
'Usage
Dim instance As TickLabels
Dim value As Integer

value = instance.Alignment

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

Property Value

Type: System.Int32

Remarks

The Alignment property can be one of these XlHAlign constants:

XlHAlignCenter

XlHAlignLeft

XlHAlignRight

See Also

Reference

TickLabels Interface

TickLabels Members

Microsoft.Office.Interop.Excel Namespace