Skip to main content

TextAnnotation.EnableAntialiasing Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[XtraSerializableProperty]
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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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