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


IGraphicTracker.Replace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EngineCore > ESRI.ArcGIS.EngineCore > Interfaces > IG > IGraphicTracker Interface > IGraphicTracker.Replace Method
ArcGIS Developer Help

IGraphicTracker.Replace Method

Creates a new graphic which will replace the element specified by the given ID.

[Visual Basic .NET]
Public Sub Replace ( _
    ByVal id As Integer, _
    ByVal pGeometry As IGeometry, _
    ByVal pGraphicTrackerSymbol As IGraphicTrackerSymbol _
)
[C#]
public void Replace (
    int id,
    IGeometry pGeometry,
    IGraphicTrackerSymbol pGraphicTrackerSymbol
);
[C++]
HRESULT Replace(
  long id,
  IGeometry* pGeometry,
  IGraphicTrackerSymbol* pGraphicTrackerSymbol
);
[C++]
Parameters
id [in]

id is a parameter of type long pGeometry [in]
pGeometry is a parameter of type IGeometry* pGraphicTrackerSymbol [in]
pGraphicTrackerSymbol is a parameter of type IGraphicTrackerSymbol*

Product Availability

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

Description

Replaces both the symbol and geometry associated with a graphic.

See Also

IGraphicTracker Interface