com.esri.arcgis.display
Interface IRepresentationRule2

All Superinterfaces:
IRepresentationRule, Serializable
All Known Implementing Classes:
RepresentationRule

public interface IRepresentationRule2
extends IRepresentationRule, Serializable

Provides access to members that control a representation rule.

Product Availability

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


Method Summary
 IGraphicAttributes getAttributesFromID(int attrListID)
          Retrieves the attribute list from an identifier.
 int getFeatureSeed()
          Seed value to ensure stability of random effects.
 int getIDFromAttributes(IGraphicAttributes attrList)
          Retrieves the identifier of an attribute list.
 void setFeatureSeed(int featureOID)
          Seed value to ensure stability of random effects.
 
Methods inherited from interface com.esri.arcgis.display.IRepresentationRule
draw, getLayer, getLayerCount, insertLayer, removeLayer
 

Method Detail

getIDFromAttributes

int getIDFromAttributes(IGraphicAttributes attrList)
                        throws IOException,
                               AutomationException
Retrieves the identifier of an attribute list.

Product Availability

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

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

getAttributesFromID

IGraphicAttributes getAttributesFromID(int attrListID)
                                       throws IOException,
                                              AutomationException
Retrieves the attribute list from an identifier.

Product Availability

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

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

setFeatureSeed

void setFeatureSeed(int featureOID)
                    throws IOException,
                           AutomationException
Seed value to ensure stability of random effects. When drawing features, the object ID is used.

Product Availability

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

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

getFeatureSeed

int getFeatureSeed()
                   throws IOException,
                          AutomationException
Seed value to ensure stability of random effects. When drawing features, the object ID is used.

Product Availability

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

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