Skip to main content
All docs
V24.2

TextAnnotation.DXTextAlignment Property

Specifies the alignment of the annotation‘s text. Use this property in non-Windows environments.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DXStringAlignment DXTextAlignment { get; set; }

Property Value

Type Description
DXStringAlignment

An enumeration value that indicates the alignment of the annotation’s text.

Available values:

Name Description
Near

The text is aligned near the layout.

Center

Text is aligned in the center of the layout rectangle.

Far

The text is aligned far from the original position of the layout rectangle.

See Also