This document is archived and information here might be outdated. Recommended version. |
Provides access to the Map Server Legend Class Interface.
Use IMapServerLegendClass when retrieving legend elements including the symbol image, label and description of a single legend class. To export a single image of the legend use ExportLegend on IMapServerLayout.
Name | Description | |
---|---|---|
Description | The description string. | |
Label | The label string. | |
SymbolImage | The symbol image. | |
TransparentColor | The transparent color used for the symbol image. |
CoClasses and Classes | Description |
---|---|
MapServerLegendClass | The Map Server Legend Class coclass contains settings about a legend class. |
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. MapServerLegendClass objects are part of a MapServerLegendGroup object. MapServerLegendGroup objects are part of a MapServerLegendInfo object. MapServerLegendInfo objects are the result of the GetLegendInfo method on IMapServer .