com.esri.arcgis.carto
Interface IMapGrids

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IMapGridsProxy, MapFrame

public interface IMapGrids
extends java.io.Serializable

COM Interface 'IMapGrids'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the map grids in a data frame.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID08e7d005_9aae_11d2_ae7b_080009ec732a
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addMapGrid(IMapGrid mapGrid)
          Adds a map grid to the map frame.
 void clearMapGrids()
          Clears all map grids from the map frame.
 void deleteMapGrid(IMapGrid mapGrid)
          Deletes a map grid from the map frame.
 IMapGrid getMapGrid(int index)
          The map grid at the specified index.
 int getMapGridCount()
          The number of map grids associated with the map frame.
 void setMapGrid(int index, IMapGrid mapGrid)
          The map grid at the specified index.
 

Field Detail

IID08e7d005_9aae_11d2_ae7b_080009ec732a

static final int IID08e7d005_9aae_11d2_ae7b_080009ec732a
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getMapGridCount

int getMapGridCount()
                    throws java.io.IOException,
                           AutomationException
The number of map grids associated with the map frame.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapGrid

IMapGrid getMapGrid(int index)
                    throws java.io.IOException,
                           AutomationException
The map grid at the specified index.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IMapGrid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapGrid

void setMapGrid(int index,
                IMapGrid mapGrid)
                throws java.io.IOException,
                       AutomationException
The map grid at the specified index.

Parameters:
index - The index (in)
mapGrid - A reference to a com.esri.arcgis.carto.IMapGrid (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMapGrid

void addMapGrid(IMapGrid mapGrid)
                throws java.io.IOException,
                       AutomationException
Adds a map grid to the map frame.

Parameters:
mapGrid - A reference to a com.esri.arcgis.carto.IMapGrid (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteMapGrid

void deleteMapGrid(IMapGrid mapGrid)
                   throws java.io.IOException,
                          AutomationException
Deletes a map grid from the map frame.

Parameters:
mapGrid - A reference to a com.esri.arcgis.carto.IMapGrid (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearMapGrids

void clearMapGrids()
                   throws java.io.IOException,
                          AutomationException
Clears all map grids from the map frame.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.