Provides access to members that supply information about the representation rules of a feature class representation.
Product Availability
Members
Description | ||
---|---|---|
Add | Adds a new representation rule to the collection. | |
Exists | Checks whether the given representation rule exists in the collection. | |
Index | Index of a representation rule indicated by its ID. | |
Name | Name of a representation rule indicated by its ID. | |
Next | Returns the next representation rule in the enumeration. | |
Remove | Removes the representation rule identified by its ID. | |
RemoveAll | Removes all the representation rules from the collection. | |
Reset | Resets the representation rule enumeration to the beginning. | |
Rule | The representation rule indicated by its ID. |
CoClasses that implement IRepresentationRules
CoClasses and Classes | Description |
---|---|
RepresentationRules | A collection of representation rules object. |
Remarks
IRepresentationRules interface provides access to the members of the representation rules collection on a representation class. This interface can be used to add, remove or modify rules in representation rules collection.
Use Reset and Next methods to reset the cursor to the beginning of the collection and to access the next rule along with its unique ID. While ID starts with 1 and is useful to identify the rule, the index starts with 0 and determines the position of the rule in the collection. The RuleID field in the feature class attribute table contains this ID value.
Add method adds a new rule to the collection. If no name, index and representation rule are defined, the method will automatically assign default values including a unique rule ID. It is the responsibility of the user to modify the rules and attribute features with the representation rule information.