Partager via


Chart.HasLegend Property

true if the chart has a legend. Read/write Boolean value.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.PowerPoint Namespace