Partager via


ChartSheetBase.HasLegend Property

Gets or sets a value that indicates whether the Microsoft.Office.Tools.Excel.ChartSheetBase has a legend.

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

Syntax

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

Property Value

Type: System.Boolean
true if the Microsoft.Office.Tools.Excel.ChartSheetBase has a legend.

.NET Framework Security

See Also

Reference

ChartSheetBase Class

Microsoft.Office.Tools.Excel Namespace