VerticalAlignment Property

Applies To

AxisTitle object, ChartTitle object, DataLabel object, DataLabels collection object.

Description

Returns or sets the vertical alignment of the object. Can be one of the following XlVAlign constants: xlVAlignBottom, xlVAlignCenter, xlVAlignDistributed, xlVAlignJustify, or xlVAlignTop. Read/write Long.

Remarks

The xlVAlignDistributed alignment style works only in Far East versions of Microsoft Graph.

See Also

HorizontalAlignment property.

Example

This example sets the vertical alignment of the chart title.

myChart.ChartTitle.VerticalAlignment = xlCenter