com.esri.arcgis.carto
Interface IGraphicFeatures

All Superinterfaces:
Serializable
All Known Implementing Classes:
GraphicFeatures

public interface IGraphicFeatures
extends Serializable

Array of Graphic Features

Product Availability

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


Method Summary
 void add(IGraphicFeature feature)
          Adds a Graphic Feature.
 int getCount()
          Graphic Feature count.
 IGraphicFeature getElement(int index)
          The Graphic Feature at the specified position.
 void insert(int index, IGraphicFeature feature)
          Adds a Graphic Feature at the specified position.
 void remove(int index)
          Removes the Graphic Feature at the specified position.
 void removeAll()
          Removes all Graphic Features.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
Graphic Feature count.

Product Availability

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

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

getElement

IGraphicFeature getElement(int index)
                           throws IOException,
                                  AutomationException
The Graphic Feature at the specified position.

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.IGraphicFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the Graphic Feature at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all Graphic Features.

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.

add

void add(IGraphicFeature feature)
         throws IOException,
                AutomationException
Adds a Graphic Feature.

Product Availability

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

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

insert

void insert(int index,
            IGraphicFeature feature)
            throws IOException,
                   AutomationException
Adds a Graphic Feature at the specified position.

Product Availability

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

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