com.esri.arcgis.carto
Interface IDataGraphCollection

All Superinterfaces:
Serializable
All Known Implementing Classes:
GMxDocument, IDataGraphCollectionProxy, MxDocument, SxDocument

public interface IDataGraphCollection
extends Serializable

Provides access to members that control graph collection in map document.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void addDataGraph(IDataGraphBase graph)
          Adds the graph to the collection.
 IDataGraphBase getDataGraph(int index)
          Graph at the given index.
 int getDataGraphCount()
          Number of graphs in the collection.
 void removeAllDataGraphs()
          Removes all graphs from the collection.
 void removeDataGraph(IDataGraphBase graph)
          Removes the graph from the collection.
 

Method Detail

getDataGraphCount

int getDataGraphCount()
                      throws IOException,
                             AutomationException
Number of graphs in the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getDataGraph

IDataGraphBase getDataGraph(int index)
                            throws IOException,
                                   AutomationException
Graph at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

removeDataGraph

void removeDataGraph(IDataGraphBase graph)
                     throws IOException,
                            AutomationException
Removes the graph from the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

addDataGraph

void addDataGraph(IDataGraphBase graph)
                  throws IOException,
                         AutomationException
Adds the graph to the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

removeAllDataGraphs

void removeAllDataGraphs()
                         throws IOException,
                                AutomationException
Removes all graphs from the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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