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


IGraphicTracker.MoveTo 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.MoveTo Method
ArcGIS Developer Help

IGraphicTracker.MoveTo Method

Moves the given graphic to the location specified by the input map coordinates.

[Visual Basic .NET]
Public Sub MoveTo ( _
    ByVal id As Integer, _
    ByVal x As Double, _
    ByVal y As Double, _
    ByVal z As Double _
)
[C#]
public void MoveTo (
    int id,
    double x,
    double y,
    double z
);
[C++]
HRESULT MoveTo(
  long id,
  double x,
  double y,
  double z
);
[C++]
Parameters
id [in]

id is a parameter of type long x [in]
x is a parameter of type double y [in]
y is a parameter of type double z [in]
z is a parameter of type double

Product Availability

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

Description

Moves the point, polyline or polygon geometry associated with a graphic according to its centroid's location. In 2D, the z-value is not used.

See Also

IGraphicTracker Interface