Provides access to members that control a map grid.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
IMapGrid is the main interface for setting properties that apply to all other types of grids. There are four specific types of MapGrid that all implement the IMapGrid interface. They are: IMeasuredGrid , IGraticule , IndexGrid , and ICustomGridOverlay .
Members
Description | ||
---|---|---|
Border | The map grid border. | |
Draw | Draws the map grid for a map frame to the given display. | |
ExteriorWidth | The width (in display units) of the portion of the grid that is outside of the frame. | |
GenerateGraphics | Generates graphic elements corresponding to the grid lines and stores them in the specified graphics container. | |
LabelFormat | The label format for map grid labels. | |
LineSymbol | The symbol used to draw grid lines - null will draw no lines. | |
Name | The name of the map grid. | |
PrepareForOutput | Prepares the map grid for output to a device. | |
QueryLabelVisibility | Returns the visibility of the labels along all four sides of the map grid. | |
QuerySubTickVisibility | Returns the visibility of the subticks along all four sides of the map grid. | |
QueryTickVisibility | Returns the visibility of the ticks along all four sides of the map grid. | |
SetDefaults | Sets the properties of the map grid to default values. | |
SetLabelVisibility | Sets the visibility of the labels along all four sides of the map grid. | |
SetSubTickVisibility | Sets the visibility of the subticks along all four sides of the map grid. | |
SetTickVisibility | Sets the visibility of the ticks along all four sides of the map grid. | |
SubTickCount | The number of subticks to draw between the major ticks. | |
SubTickLength | The length of the subticks in points. | |
SubTickLineSymbol | The symbol used to draw the subtick lines. | |
TickLength | The length of the major ticks in points. | |
TickLineSymbol | The line symbol used to draw the major ticks. | |
TickMarkSymbol | The symbol used to draw tick marks at the grid interval intersections - null will draw no tick marks. | |
Visible | Indicates if the map grid is visible. |
CoClasses that implement IMapGrid
CoClasses and Classes | Description |
---|---|
CustomOverlayGrid | A custom map grid. |
Graticule | A map grid that divides the map with meridians and parallels. |
IndexGrid | A map grid that divides the map into a grid for indexing. |
MeasuredGrid | A map grid that divides the map into a grid of units in any coordinate system. |
MgrsGrid | The Military Grid Reference System (MGRS) object. |
See Also
ICustomOverlayGrid Interface | IIndexGrid Interface | IMeasuredGrid Interface | IMapGrid Interface | IGraticule Interface