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

TextAnnotation.EnableAntialiasing Property

Gets or sets whether anti-aliasing (smoothing) is applied to the annotation‘s text.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public DefaultBoolean EnableAntialiasing { get; set; }

Property Value

Type Description
DefaultBoolean

True to apply anti-aliasing to the annotation’s text; False to disable anti-aliasing; Default to automatically determine whether or not anti-aliasing is required.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

Use the EnableAntialiasing property to apply anti-aliasing to an annotation’s text. For example, this may be required when the Annotation.Angle property isn’t set to 0.

Note

By default, the EnableAntialiasing property is set to DefaultBoolean.Default. This means that anti-aliasing rendering is disabled when a text is not rotated (its angle is set to 0) or is rotated to a value multiple of 90 (i.e. 90, 180 or 270 degrees). For all other rotation angles, anti-aliasing is enabled by default.

See Also