TextAnnotation.AutoSize Property
Specifies whether the annotation should be auto-resized to fit its text.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
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.
See Also