ArcGIS Pro 2.6 API Reference Guide
Move(Geometry,Double,Double,Double) Method
Example 

ArcGIS.Core.Geometry Namespace > GeometryEngine Class > Move Method : Move(Geometry,Double,Double,Double) Method
The geometry to move.
Units along the x-axis to move the geometry.
Units along the y-axis to move the geometry.
Units along the z-axis to move the geometry.
Moves the geometry in a 3-dimensional manner.
Syntax
Public Overloads Function Move( _
   ByVal geometry As Geometry, _
   ByVal dx As Double, _
   ByVal dy As Double, _
   ByVal dz As Double _
) As Geometry

Parameters

geometry
The geometry to move.
dx
Units along the x-axis to move the geometry.
dy
Units along the y-axis to move the geometry.
dz
Units along the z-axis to move the geometry.

Return Value

The moved geometry.
Exceptions
ExceptionDescription
Geometry is null or empty.
The method is not implemented for GeometryBag.
This geometry is not Z-Aware.
Spatial reference of geometryis an image coordinate system.
Remarks
Moves the geometry along the x-axis, the y-axis and the z-axis. The geometry must be z-aware or an exception will be thrown. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

GeometryEngine Move

Example
MapPoint zPt = MapPointBuilder.CreateMapPoint(1.0, 3.0, 2.0);
MapPoint zPtResult = GeometryEngine.Instance.Move(zPt, 4, 0.25, 0.5) as MapPoint;
// zPtResult is (5.0, 3.25, 2.5);
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

GeometryEngine Class
GeometryEngine Members
Overload List