|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRepresentationGraphics
Provides access to the content of a RepresentationGraphics object.
Use IRepresentationGraphics interface to create new or manage an existing RepresentationGraphics or RepresentationMarker object. When a feature representation is converted to a free representation, the result is a representation graphics object.
Add method can be used to add geometries to a RepresentationGraphics or RepresentationMarker object. This method takes arguments such as geometry and representation rule. The geometry is in map coordinates.
Method Summary | |
---|---|
void |
add(IGeometry geometry,
IRepresentationRule repRule)
Adds a new component in a representation graphic. |
void |
changeGeometry(int iD,
IGeometry geometry)
Changes a geometry in a representation graphic. |
void |
next(IGeometry[] geometry,
IRepresentationRule[] repRule)
Retrieves the next component in a representation graphic. |
void |
nextGeometry(int[] iD,
IGeometry[] geometry)
Accesses the next geometry in a representation graphic. |
void |
remove(IGeometry geometry,
IRepresentationRule repRule)
Removes a component in a representation graphic. |
void |
removeAll()
Removes all components in a representation graphic. |
void |
reset()
Resets the enumeration of components in a representation graphic. |
void |
resetGeometry()
Resets the geometry enumeration in a representation graphic. |
Method Detail |
---|
void reset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void next(IGeometry[] geometry, IRepresentationRule[] repRule) throws IOException, AutomationException
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)repRule
- A reference to a com.esri.arcgis.display.IRepresentationRule (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void add(IGeometry geometry, IRepresentationRule repRule) throws IOException, AutomationException
Add method can be used to add representation graphics to a RepresentationGraphics object. This method takes arguments such as geometry and representation rule. The geometry is in map coordinates.
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)repRule
- A reference to a com.esri.arcgis.display.IRepresentationRule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(IGeometry geometry, IRepresentationRule repRule) throws IOException, AutomationException
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)repRule
- A reference to a com.esri.arcgis.display.IRepresentationRule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetGeometry() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void nextGeometry(int[] iD, IGeometry[] geometry) throws IOException, AutomationException
NextGeometry method can be used to call the geometries present in a RepresentationGraphics or RepresentationMarker. Reset method has to be called prior to calling this method as this will reset the collection of geometries to the starting.
iD
- The iD (out: use single element array)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void changeGeometry(int iD, IGeometry geometry) throws IOException, AutomationException
iD
- The iD (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (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 |