TextAnnotation.AutoSize Property

Specifies whether the annotation should be auto-resized to fit its text.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll


public bool AutoSize { get; set; }

Property Value

Type Description

true to enable the automatic size correction; otherwise, false.


Use the AutoSize property to choose whether a TextAnnotation‘s size should be auto-adjusted to fit its text.

When the AutoSize property is disabled, the annotation’s dimensions are defined by its Annotation.Height and Annotation.Width properties’ values.

For more information, refer to Annotations.

See Also