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. Requires 3D Analyst Extension.
Description
Replaces both the symbol and geometry associated with a graphic.