Back to Devexpress

TextAnnotation.EnableAntialiasing Property

corelibraries-devexpress-dot-xtracharts-dot-textannotation-df3c33cd.md

latest2.3 KB
Original Source

TextAnnotation.EnableAntialiasing Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public DefaultBoolean EnableAntialiasing { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
Public Property EnableAntialiasing As DefaultBoolean

Property Value

TypeDescription
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:

NameDescriptionReturn 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

TextAnnotation Class

TextAnnotation Members

DevExpress.XtraCharts Namespace