This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IR > IRepresentationGraphics Interface > IRepresentationGraphics.Add Method (ArcObjects .NET 10.4 SDK) |
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
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.