This document is archived and information here might be outdated.  Recommended version.


IMapGrids.MapGridCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapGrids Interface > IMapGrids.MapGridCount Property
ArcGIS Developer Help

IMapGrids.MapGridCount Property

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(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

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

Remarks

MapGridCount will return then number of grids (graticules) attached to the MapFrame.

 

See Also

IMapGrids Interface