This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > R > Representation Class (ArcObjects .NET 10.5 SDK) |
A Feature Representation object.
Representation is a non-creatable object. References to non-creatable objects must be obtained through other objects.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
Interfaces | Description |
---|---|
IGraphicsOutline (esriDisplay) | Provides access to methods dealing with the outline of a graphics. |
IOverride | Provides access to members that manage property overrides of a representation. |
IRepresentation | Provides access to members that return and set properties of a representation. |
ISupportErrorInfo | Indicates whether a specific interface can return Automation error objects. |
A feature Representation is a feature enabled with representation capabilities. When a new RepresentationClass is created, every feature in the feature class can be represented as individual representation using representation rules and override information present in the attribute fields RuleIDField and OverrideField. Since a single feature class can be asociated with multiple representation classes, a single feature can be rendered differently depending on the current representation class for drawing.
A representation is associated with a single feature in a representation class just like a feature represents a single row within a feature class.
Use IRepresentationClass.GetRepresentation method to get representation of features with respect to different map contexts.
Representations can be displayed using information from any of the following options:
Use IRepresentation interface to manage the properties of a feature representation including creating or modifying its shape overrides.
Use IOverride interface to manage the attribute overrides present for a feature representation. This interface cannot be used to set new attribute overrides. For this purpose, use IRepresentation::Value property along with the correct set of GraphicAttributes and index of the attribute you wish to alter.