Moves the Graphic to the specified x and y coordinates.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void MoveTo( double x, double y ) |
Visual Basic (Declaration) |
---|
Public Sub MoveTo ( _ x As Double, _ y As Double _ ) |
Parameters
- x
- Type: System..::.Double
The new x coordinate of the Graphic.Geometry.
- y
- Type: System..::.Double
The new y coordinate of the Graphic.Geometry.
Remarks
For Polyline and Polygon graphics, the geometry is moved so that the first vertex (for example Polygon.GetPoint(0,0)) is at the specified x and y coordinates.