This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EngineCore > ESRI.ArcGIS.EngineCore > Interfaces > IG > IGraphicTracker Interface > IGraphicTracker.Replace Method (ArcObjects .NET 10.4 SDK) |
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
Replaces both the symbol and geometry associated with a graphic.