This document is archived and information here might be outdated. Recommended version. |
Provides access to the Map Server Legend Group Interface.
Use IMapServerLegendGroup when retrieving individual legend elements including the symbol image, labels, descriptions and headings. To export a single image of the legend use ExportLegend on IMapServerLayout .
CoClasses and Classes | Description |
---|---|
MapServerLegendGroup | The Map Server Legend Group coclass provides information about a legend group. |
Legends are associated with renderers that belong to each layer in a map. Each layer has a separate renderer. Each renderer has one or more legend groups. Each legend group has one or more legend classes. A MapServerLegendGroup contains one or more MapServerLegendClass objects. MapServerLegendGroup objects are part of the MapServerLegendInfo object. MapServerLegendInfo objects are the result of the GetLegendInfo method on IMapServer .