Legend.IsTextAutoFit Property

.NET Framework (current version)

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

Gets or sets a flag that indicates whether the legend text is automatically sized.

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

public bool IsTextAutoFit { get; set; }

Property Value

Type: System.Boolean

true if the legend text is automatically sized; otherwise, false.

.NET Framework
Available since 4.0
Return to top