Axis.TitleFont Property

.NET Framework (current version)

Gets or sets the title font properties of an axis.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public Font TitleFont { get; set; }

Property Value

Type: System.Drawing.Font

A Font object used for the font properties of a title.

Gets or sets title font properties such as face or size.

To set font properties at run time, a new Font object must be created. Any attempt to change the properties of the current Font object at run time will result in a compilation error.

.NET Framework
Available since 4.0
Return to top