|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IElementCollection2
Provides access to members that control the Graphics element collection.
| Method Summary | |
|---|---|
void |
add(IElement element,
int linkedFeatureID,
int annotationClassID,
int status)
Adds an element to the collection. |
void |
clear()
Removes all the elements in the collection. |
int |
getCount()
Number of elements in the collection. |
void |
queryItem(int index,
IElement[] element,
int[] linkedFeatureID,
int[] annotationClassID,
int[] status)
Element at the given index. |
void |
remove(IElement element)
Remove an element from the collection. |
| Method Detail |
|---|
void add(IElement element,
int linkedFeatureID,
int annotationClassID,
int status)
throws IOException,
AutomationException
element - A reference to a com.esri.arcgis.carto.IElement (in)linkedFeatureID - The linkedFeatureID (in, optional, pass 0 if not required)annotationClassID - The annotationClassID (in, optional, pass -1 if not required)status - A com.esri.arcgis.carto.esriAnnotationStatus constant (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryItem(int index,
IElement[] element,
int[] linkedFeatureID,
int[] annotationClassID,
int[] status)
throws IOException,
AutomationException
index - The index (in)element - A reference to a com.esri.arcgis.carto.IElement (out: use single element array)linkedFeatureID - The linkedFeatureID (out: use single element array, optional, pass single element of null if not required)annotationClassID - The annotationClassID (out: use single element array, optional, pass single element of null if not required)status - A com.esri.arcgis.carto.esriAnnotationStatus constant (out: use single element array, optional, pass single element of null if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void clear()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void remove(IElement element)
throws IOException,
AutomationException
element - A reference to a com.esri.arcgis.carto.IElement (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 | ||||||||