Dela via


ChartSheet.HasLegend Property

Gets or sets a value that indicates whether the Microsoft.Office.Tools.Excel.ChartSheet 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
    Get
    Set
bool HasLegend { get; set; }

Property Value

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

.NET Framework Security

See Also

Reference

ChartSheet Interface

Microsoft.Office.Tools.Excel Namespace