LegendClass

A class for the legend or table of contents entry for a single renderer class.

Property

Type

Description

Description

string

The legend class description.

Label

string

The legend class label.

LegendClassFormat

LegendClassFormat

Optional. If non-null, then layer specifies class formatting information.

Symbol

Symbol

The legend class symbol.

Remarks

There are typically many of these objects in a LegendGroup. Each legend class contains a symbol and descriptive text strings form of a Label and Description. The Label appears in the table of contents, and the label and description can appear in the legend.

If a legend group is editable, then the symbol and label for the label classes contained by the legend group can be edited in the table of contents. Changes to symbols symbol will change the renderer's symbology and the map will refresh to reflect this change. Changes to labels will change the content of any legends that contain the layer.

11/8/2016