다음을 통해 공유


Chart.HasLegend Property

Gets or sets a value that indicates whether the Chart control has a legend.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property HasLegend As Boolean
bool HasLegend { get; set; }

Property Value

Type: System.Boolean
true if the Chart control has a legend; otherwise, false.

.NET Framework Security

See Also

Reference

Chart Interface

Microsoft.Office.Tools.Excel Namespace