Share via


_Chart.HasLegend Property

True if the chart has a legend.

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

Syntax

'Declaration
Property HasLegend As Boolean
    Get
    Set
'Usage
Dim instance As _Chart
Dim value As Boolean

value = instance.HasLegend

instance.HasLegend = value
bool HasLegend { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace