This document is archived and information here might be outdated.  Recommended version.


RepresentationRule Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Classes > R > RepresentationRule Class
ArcGIS Developer Help

RepresentationRuleClass Class

An object defining a representation rule.

Product Availability

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

Description

RepresentationRule object is a collection of basic symbols such as BasicLineSymbolBasicFillSymbol and BasicMarkerSymbol along with MarkerPlacement used for representing features within a representationclass. Complex symbols can be created by incorporating  one or more geometric effects into your rule. 

Standard ArcGIS symbols such as SimpleMarkerSymbol, SimpleLineSymbol etc implementing ISymbol interface can also be converted to a representation rule using IRepresentationRuleInit interface. When a standard ArcGIS symbol is converted to a representation rule, it may contain either one or more basic symbol layers.

The graphic attributes present for a rule can be overriden using regular attribute fields.

Use IRepresentationRule interface to manage the individual symbol layer within a rule.

Extended Error Information

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

Interfaces Description
IClone (esriSystem) Provides access to members that control cloning of objects.
IDocumentVersionSupportGEN (esriSystem) Provides access to extend the IObjectStream interface with methods to hande saving objects that did not exist in previous versions of the software.
IDrawingOutline Provides access to methods dealing with the outline of a drawing rule.
IFieldOverrides Provides access to a collection of field overrides.
IGeometricEffect Provides access to the Geometric Effect Interface.
IGeometricEffects Provides access to members that control the geometric effect list.
IMapLevel Provides access to members that control the map level.
IPersist (esriSystem)
IPersistStream (esriSystem)
IRepresentationRule Provides access to members that control a representation rule.
IRepresentationRule2 Provides access to members that control a representation rule.
IRepresentationRuleInit Provides access to members that initialize a representation rule.
ISupportErrorInfo (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport (esriSystem) Provides access to members that help in serializing an object to different namespaces (versions).