Share via


DataLabel.ShowLegendKey Property

Set to True if the data label legend key is visible. Read/write Boolean.

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

Syntax

'Declaration
Property ShowLegendKey As Boolean
    Get
    Set
'Usage
Dim instance As DataLabel
Dim value As Boolean

value = instance.ShowLegendKey

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

Property Value

Type: System.Boolean
Boolean

Examples

This example sets the data labels for series one of the first chart in the active document to show values and the legend key.

See Also

Reference

DataLabel Interface

DataLabel Members

Microsoft.Office.Interop.Word Namespace