ArcObjects Library Reference (Carto)  

IMapGrids Interface

Provides access to members that control the map grids in a data frame.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

IMapGrids is implemented only by the MapFrame object, but it is not the default interface for that object (IMapFrame is the default).  Use this interface when you want to retrieve or set the grids (sometimes known as graticules) displayed with a particular MapFrame.  The Grids are used to provide reference information for the map.

 

Members

Description
Method AddMapGrid Adds a map grid to the map frame.
Method ClearMapGrids Clears all map grids from the map frame.
Method DeleteMapGrid Deletes a map grid from the map frame.
Read/write property MapGrid The map grid at the specified index.
Read-only property MapGridCount The number of map grids associated with the map frame.

CoClasses that implement IMapGrids

CoClasses and Classes Description
MapFrame A graphic element for displaying maps.

.NET Related Topics

How to create map grids