com.esri.arcgis.display
Interface IRepresentationGraphics

All Superinterfaces:
Serializable
All Known Implementing Classes:
RepresentationGraphics, RepresentationMarker

public interface IRepresentationGraphics
extends Serializable

Provides access to the content of a RepresentationGraphics object.

Remarks

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.

Product Availability

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


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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration of components in a representation graphic.

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.

next

void next(IGeometry[] geometry,
          IRepresentationRule[] repRule)
          throws IOException,
                 AutomationException
Retrieves the next component in a representation graphic.

Product Availability

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

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

add

void add(IGeometry geometry,
         IRepresentationRule repRule)
         throws IOException,
                AutomationException
Adds a new component in a representation graphic.

Remarks

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.

Product Availability

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

Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
repRule - A reference to a com.esri.arcgis.display.IRepresentationRule (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(IGeometry geometry,
            IRepresentationRule repRule)
            throws IOException,
                   AutomationException
Removes a component in a representation graphic.

Product Availability

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

Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
repRule - A reference to a com.esri.arcgis.display.IRepresentationRule (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all components in a representation graphic.

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.

resetGeometry

void resetGeometry()
                   throws IOException,
                          AutomationException
Resets the geometry enumeration in a representation graphic.

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.

nextGeometry

void nextGeometry(int[] iD,
                  IGeometry[] geometry)
                  throws IOException,
                         AutomationException
Accesses the next geometry in a representation graphic.

Remarks

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.

Product Availability

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

Parameters:
iD - The iD (out: use single element array)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

changeGeometry

void changeGeometry(int iD,
                    IGeometry geometry)
                    throws IOException,
                           AutomationException
Changes a geometry in a representation graphic.

Product Availability

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

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