ArcGIS Enterprise SDK
IMapServerLegendGroup Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.Carto > Interfaces > IM > IMapServerLegendGroup Interface
ArcGIS Developer Help (ESRI.ArcGIS.Carto)

IMapServerLegendGroup Interface

Provides access to the Map Server Legend Group Interface.

When To Use

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 .

Members

Name Description
Read-only property Classes A collection of legend class objects.
Read-only property Heading The heading string.

Classes that implement IMapServerLegendGroup

Classes Description
MapServerLegendGroup The Map Server Legend Group coclass provides information about a legend group.

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. 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 .