|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIndexGrid
Provides access to members that control the index grid.
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.
IGraticule
,
ICustomOverlayGrid
,
IMeasuredGrid
,
IIndexGrid
,
IMapGrid
Method Summary | |
---|---|
int |
getColumnCount()
The number of columns in the index grid. |
int |
getRowCount()
The number of rows in the index grid. |
String |
getXLabel(int column)
The label for the given column in the index grid. |
String |
getYLabel(int row)
The label for the given row in the index grid. |
void |
queryCellExtent(int row,
int column,
IMapFrame pMapFrame,
IEnvelope extent)
Provides access to the cell extent in page space for the given row and column. |
void |
setColumnCount(int count)
The number of columns in the index grid. |
void |
setRowCount(int count)
The number of rows in the index grid. |
void |
setXLabel(int column,
String label)
The label for the given column in the index grid. |
void |
setYLabel(int row,
String label)
The label for the given row in the index grid. |
Method Detail |
---|
int getColumnCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setColumnCount(int count) throws IOException, AutomationException
count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRowCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRowCount(int count) throws IOException, AutomationException
count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getXLabel(int column) throws IOException, AutomationException
column
- The column (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setXLabel(int column, String label) throws IOException, AutomationException
column
- The column (in)label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getYLabel(int row) throws IOException, AutomationException
row
- The row (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setYLabel(int row, String label) throws IOException, AutomationException
row
- The row (in)label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryCellExtent(int row, int column, IMapFrame pMapFrame, IEnvelope extent) throws IOException, AutomationException
row
- The row (in)column
- The column (in)pMapFrame
- A reference to a com.esri.arcgis.carto.IMapFrame (in)extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |