This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > CartoUI > ESRI.ArcGIS.CartoUI > Interfaces > IM > IMapGridFactory Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members of the map grid factory.
You can use the MapGridFactory coclass to quickly create map grids. The map grids created will have default properties applied. Use one of the inheriting coclasses�GraticuleFactory, IndexGridFactory, MeasuredGridFactory, or CustomOverlayGridFactory�to create the respective map grid.
The way to manage the map grids created by the MapGridFactory is detailed in the Carto Library Overview
The Create method takes a map frame as its argument and returns an IMapGrid interface to a newly created map grid. The map grid has default properties. This is similar to creating a map grid and using IMapGrid::SetDefault to assign properties to it. Name returns the name of the map grid class to which the map grid factory object belongs. An example is provided in the CartoUI Library Overview
CoClasses and Classes | Description |
---|---|
CustomOverlayGridFactory | Custom overlay grid factory class. |
GraticuleFactory | Graticule factory class. |
IndexGridFactory | Index grid factory class. |
MeasuredGridFactory | Measured grid factory class. |
MgrsGridFactory | MGRS grid factory class. |