Provides access to the Map Server Legend Class Interface.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
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.
Members
Description | ||
---|---|---|
Description | The description string. | |
Label | The label string. | |
SymbolImage | The symbol image. | |
TransparentColor | The transparent color used for the symbol image. |
CoClasses that implement IMapServerLegendClass
CoClasses and Classes | Description |
---|---|
MapServerLegendClass | The Map Server Legend Class coclass contains settings about a legend class. |
Remarks
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 .