This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendInfo Interface > IMapServerLegendInfo.LegendGroups Property (ArcObjects .NET 10.4 SDK) |
A collection of legend group objects.
[Visual Basic .NET] Public ReadOnly Property LegendGroups As IMapServerLegendGroups
[C#] public IMapServerLegendGroups LegendGroups {get;}
[C++]
HRESULT get_LegendGroups(
IMapServerLegendGroups** groups
);
[C++]
Parameters groups [out, retval]
groups is a parameter of type IMapServerLegendGroups
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.