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

TitleBase.Antialiasing Property

OBSOLETE

This property is now obsolete. Use the EnableAntialiasing property instead.

Gets or sets whether antialising is applied to the title’s contents.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.1.dll

NuGet Package: DevExpress.Charts

Declaration

[Obsolete("This property is now obsolete. Use the EnableAntialiasing property instead.")]
[Browsable(false)]
public bool Antialiasing { get; set; }

Property Value

Type Description
Boolean

true to apply antialising (smoothing) to the title’s contents; otherwise, false.

Example

This example demonstrates how to access an axis title at runtime.

To do this, cast your diagram object to the required diagram type to access its axes. Then, you can access the Axis2D.Title property.

// Cast the chart's diagram to the XYDiagram type, to access its axes.
XYDiagram diagram = (XYDiagram)chartControl1.Diagram;

// Customize the appearance of the X-axis title.
diagram.AxisX.Title.Visible = true;
diagram.AxisX.Title.Alignment = StringAlignment.Center;
diagram.AxisX.Title.Text = "X-axis Title";
diagram.AxisX.Title.TextColor = Color.Red;
diagram.AxisX.Title.Antialiasing = true;
diagram.AxisX.Title.Font = new Font("Tahoma", 14, FontStyle.Bold);

// Customize the appearance of the Y-axis title.
diagram.AxisY.Title.Visible = true;
diagram.AxisY.Title.Alignment = StringAlignment.Center;
diagram.AxisY.Title.Text = "Y-axis Title";
diagram.AxisY.Title.TextColor = Color.Blue;
diagram.AxisY.Title.Antialiasing = true;
diagram.AxisY.Title.Font = new Font("Tahoma", 14, FontStyle.Bold);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Antialiasing property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also