Axis.LabelAutoFitMaxFontSize Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the maximum font size that can be used by the label auto-fitting algorithm.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public int LabelAutoFitMaxFontSize { get; set; }

Property Value

Type: System.Int32

An integer value.

The font size cannot be less than 5.

.NET Framework
Available since 4.0
Return to top