Skip to main content
A newer version of this page is available. .

TextAnnotation.AutoSize Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool AutoSize { get; set; }

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