IMapServerLegendGroups Interface

Provides access to the Map Server Legend Groups Interface.

Members

Name Description
Method Add Adds a legend group.
Read-only property Count The legend group count.
Read-only property Element The legend group at the specified position.
Method Insert Adds a legend group at the specified position.
Method Remove Removes the legend group at the specified position.
Method RemoveAll Removes all legend groups.

IMapServerLegendGroups.Add Method

Adds a legend group.

Public Sub Add ( _
    ByVal group As IMapServerLegendGroup _
)
public void Add (
    IMapServerLegendGroup group
);

IMapServerLegendGroups.Count Property

The legend group count.

Public ReadOnly Property Count As Integer
public int Count {get;}

IMapServerLegendGroups.Element Property

The legend group at the specified position.

Public Function get_Element ( _
    ByVal Index As Integer _
) As IMapServerLegendGroup
public IMapServerLegendGroup get_Element (
    int Index
);

IMapServerLegendGroups.Insert Method

Adds a legend group at the specified position.

Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal group As IMapServerLegendGroup _
)
public void Insert (
    int Index,
    IMapServerLegendGroup group
);

IMapServerLegendGroups.Remove Method

Removes the legend group at the specified position.

Public Sub Remove ( _
    ByVal Index As Integer _
)
public void Remove (
    int Index
);

IMapServerLegendGroups.RemoveAll Method

Removes all legend groups.

Public Sub RemoveAll ( _
)
public void RemoveAll (
);

Classes that implement IMapServerLegendGroups

Classes Description
MapServerLegendGroups A collection of Map Server Legend Group objects.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close