ArcObjects Library Reference (EngineCore)  

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