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


IMapGrids.MapGridCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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(
  long* 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

.NET Related Topics

How to create map grids