This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrids Interface > IMapGrids.MapGridCount Property (ArcObjects .NET 10.4 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.