ArcObjects Library Reference (Carto)  

IMapGrids.MapGrid Property

The map grid at the specified index.

[Visual Basic .NET]
Public Function get_MapGrid ( _
    ByVal Index As Integer _
) As IMapGrid
[Visual Basic .NET]
Public Sub set_MapGrid ( _
    ByVal Index As Integer, _
    ByVal MapGrid As IMapGrid _
)
[C#]
public IMapGrid get_MapGrid (
    int Index
);
[C#]
public void set_MapGrid (
    int Index,
    IMapGrid MapGrid
);
[C++]
HRESULT get_MapGrid(
  long Index,
  IMapGrid** MapGrid
);
[C++]
HRESULT put_MapGrid(
  long Index,
  IMapGrid* MapGrid
);
[C++]

Parameters

Index [in]   Index is a parameter of type long MapGrid [out, retval]

  MapGrid is a parameter of type IMapGrid

Index [in]   Index is a parameter of type long MapGrid [in]

  MapGrid is a parameter of type IMapGrid

Product Availability

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

Remarks

MapGrid returns or sets the specified IMapGrid.  Use this interface when you want to retrieve or update a MapGrid associated with the MapFrame.

 

See Also

IMapGrids Interface