ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Move Method / Move(Layer,Int64,Double,Double) Method
The layer of the feature to move.
The oid of the feature to move.
Units along the x-axis to move the geometry.
Units along the y-axis to move the geometry.

In This Topic
    Move(Layer,Int64,Double,Double) Method
    In This Topic
    Moves a feature along a vector.
    Syntax
    public void Move( 
       Layer layer,
       long oid,
       double dx,
       double dy
    )
    Public Overloads Sub Move( _
       ByVal layer As Layer, _
       ByVal oid As Long, _
       ByVal dx As Double, _
       ByVal dy As Double _
    ) 

    Parameters

    layer
    The layer of the feature to move.
    oid
    The oid of the feature to move.
    dx
    Units along the x-axis to move the geometry.
    dy
    Units along the y-axis to move the geometry.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also