This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EngineCore > ESRI.ArcGIS.EngineCore > Interfaces > IG > IGraphicTracker Interface > IGraphicTracker.MoveTo Method (ArcObjects .NET 10.4 SDK) |
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
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.