ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Move Method / Move(Layer,IEnumerable<Int64>,Double,Double) Method
The layer of the features to move.
The collection of oids
Units along the x-axis to move the geometry.
Units along the y-axis to move the geometry.

In This Topic
    Move(Layer,IEnumerable<Int64>,Double,Double) Method
    In This Topic
    Moves a collection of features along the same vector.
    Syntax
    public void Move( 
       Layer layer,
       IEnumerable<long> oids,
       double dx,
       double dy
    )
    Public Overloads Sub Move( _
       ByVal layer As Layer, _
       ByVal oids As IEnumerable(Of Long), _
       ByVal dx As Double, _
       ByVal dy As Double _
    ) 

    Parameters

    layer
    The layer of the features to move.
    oids
    The collection of oids
    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

    ArcGIS Pro version: 3 or higher.
    See Also