Legend Interface
Represents the legend in a chart.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)
Usage
Public Class egendImplementation
Implements Legend
End Class
Dim egendImplementation1 As New egendImplementation()
Syntax
Public Interface Legend
public interface Legend
public interface class Legend
public interface Legend
public interface Legend
Remarks
Each chart can have only one legend. The Legend object contains one or more LegendEntry objects; each LegendEntry object contains a LegendKey object.
Use the Legend property to return the Legend object.
The chart legend isn’t visible unless the HasLegend property is True. If this property is False, properties and methods of the Legend object will fail.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Excel Namespace