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


IRepresentationGraphics.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRepresentationGraphics Interface > IRepresentationGraphics.Add Method
ArcGIS Developer Help

IRepresentationGraphics.Add Method

Adds a new component in a representation graphic.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Geometry As IGeometry, _
    ByVal repRule As IRepresentationRule _
)
[C#]
public void Add (
    IGeometry Geometry,
    IRepresentationRule repRule
);
[C++]
HRESULT Add(
  IGeometry* Geometry,
  IRepresentationRule* repRule
);
[C++]
Parameters
Geometry [in]

Geometry is a parameter of type IGeometry* repRule [in]
repRule is a parameter of type IRepresentationRule*

Product Availability

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

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.

See Also

IRepresentationGraphics Interface