AddLegend

The AddLegend method creates a top level legend for post, vector, and base map layers. Returns a TopLegend object.

Syntax

object.AddLegend()

Example

Add a legend for post, vector, and base layers.

Set Legend = doc.AddLegend

Used by: PlotDocument object.