Share via


DataLabels.VerticalAlignment Property

Returns or sets the vertical alignment of the specified object.

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

Syntax

'Declaration
Property VerticalAlignment As Object
    Get
    Set
'Usage
Dim instance As DataLabels
Dim value As Object

value = instance.VerticalAlignment

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

Property Value

Type: System.Object

Remarks

The following constants can be used:

xlBottom

xlCenter

xlDistributed

xlJustify

xlTop

See Also

Reference

DataLabels Interface

DataLabels Members

Microsoft.Office.Interop.Excel Namespace