This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrids Interface > IMapGrids.MapGrid Property (ArcObjects .NET 10.4 SDK) |
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
MapGrid returns or sets the specified IMapGrid. Use this interface when you want to retrieve or update a MapGrid associated with the MapFrame.