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 > IMeasuredGrid Interface (ArcObjects .NET 10.5 SDK) |
Provides access to the members that control the lines that make up the map grid.
Description | ||
---|---|---|
FixedOrigin | Indicates if the origin is read from the XOrigin and YOrigin properties (true) or if it is computed dynamically from the data frame (false). | |
Units | The units for the intervals and origin. | |
XIntervalSize | The interval between grid lines along the X axis. | |
XOrigin | The origin of the grid on the X axis. | |
YIntervalSize | The interval between grid lines along the Y axis. | |
YOrigin | The origin of the grid on the Y axis. |
CoClasses and Classes | Description |
---|---|
Graticule | A map grid that divides the map with meridians and parallels. |
MeasuredGrid | A map grid that divides the map into a grid of units in any coordinate system. |
The IMeasuredGrid interface is implemented by the MeasuredGrid and Graticule coclasses. It exposes information on the origins, intervals, and units of the grid.
If you set FixedOrigin to False, the origin is computed from the data frame instead of from the XOrigin and YOrigin properties. Defining these properties will shift the grid. For instance you can create a grid with a 10� interval showing on meridians 5�, 15�, 25�, etc. by shifting the grid 5� in X.
Units need not be populated for a graticule. For a measured grid they can be set to any esriUnits constant, if this is not specified the map units will be used.
The XIntervalSize and YIntervalSize properties define the spacing of the meridians and parallels of the grid.
ICustomOverlayGrid Interface | IMapGrid Interface | IGraticule Interface | IIndexGrid Interface | IMeasuredGrid Interface