This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrids Interface > IMapGrids.MapGridCount Property (ArcObjects .NET 10.5 SDK) |
The number of map grids associated with the map frame.
[Visual Basic .NET] Public ReadOnly Property MapGridCount As Integer
[C#] public int MapGridCount {get;}
[C++]
HRESULT get_MapGridCount(
long* Count
);
[C++]
Parameters Count [out, retval] Count is a parameter of type long
MapGridCount will return then number of grids (graticules) attached to the MapFrame.