This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IIndexGrid Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control the index grid.
Description | ||
---|---|---|
Border | The map grid border. | |
ColumnCount | The number of columns in the index grid. | |
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. | |
QueryCellExtent | Provides access to the cell extent in page space for the given row and column. | |
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. | |
RowCount | The number of rows in the index 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. | |
XLabel | The label for the given column in the index grid. | |
YLabel | The label for the given row in the index grid. |
Interfaces | Description |
---|---|
IMapGrid | Provides access to members that control a map grid. |
CoClasses and Classes | Description |
---|---|
IndexGrid | A map grid that divides the map into a grid for indexing. |
IIndexGrid gives you access to the functionality common to all index grids.
Using the XLabel and the YLabel properties, you can set or retrieve the label for each column and index in the grid. You can access the number of rows and columns of the grid with RowCount and ColumnCount.
The QueryCellExtent method allows you to get the envelope of any given cell in the grid.
See also the Carto Library Overview.
ICustomOverlayGrid Interface | IMapGrid Interface | IGraticule Interface | IIndexGrid Interface | IMeasuredGrid Interface