Alignment property



The alignment of the text for a legend, footnote, or chart, x-axis, or y-axis title.

Syntax

Set:     TextElement.setAlignment(align)
Get: align = TextElement.getAlignment

Applies to

TextElement object.

Data type

integer. [[I just plugged these values and constants in. What are the values?]]
Value Description
0 Left aligned.
1 Right aligned.
2 Centered.

See also
DataSource property
Legend property
LegendSource property
String property