Legend Interface

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

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


<GuidAttribute("B3A1E8C6-E1CE-4A46-8D12-E017157B03D7")> _
Public Interface Legend
Dim instance As Legend
public interface Legend


The Legend object contains one or more LegendEntry objects; each LegendEntry object contains a LegendKey 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.


Use the Legend property to return the Legend object. The following example sets the font style for the legend of the first chart in the active document to bold.

See Also


Legend Members

Microsoft.Office.Interop.Word Namespace