ArcObjects Library Reference (Display)  

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