ShowLegend Property
ShowLegend returns or sets the show legend state.
Legends can be displayed for classed post maps or vector maps. The ShowLegend property has a Boolean value. If this value is set to 'True', the legends are displayed and if this value is 'False', the legends are hidden.
Syntax
object.ShowLegend
object. ShowLegend = Show
Example 1
This example demonstrates how to return whether or not the legend is displayed.
Debug.Print ClassedPostLayer.ShowLegend
Example 2
This example demonstrates how to display the legend.
VectorLayer.ShowLegend = True
Used by: ClassedPostLayer object, PostLayer object, VectorBaseLayer object, VectorLayer object,