TextAnnotation.AutoSize Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public bool AutoSize { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property AutoSize As Boolean

Property Value

Type Description
Boolean

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

Remarks

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 Position and Layout.

See Also