共用方式為


Legend Interface

Represents the legend in a chart. Each chart can have only one legend.

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

Syntax

'Declaration
<GuidAttribute("92D41A6E-F07E-4CA4-AF6F-BEF486AA4E6F")> _
Public Interface Legend
'Usage
Dim instance As Legend
[GuidAttribute("92D41A6E-F07E-4CA4-AF6F-BEF486AA4E6F")]
public interface Legend

Remarks

The Legend object contains one or more LegendEntry objects; each LegendEntry object contains a LegendKey object.

The chart legend is not visible unless the HasLegend property is true. If this property is false, properties and methods of the Legend object will fail.

See Also

Reference

Legend Members

Microsoft.Office.Interop.PowerPoint Namespace