ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Duplicate(Layer,Int64,Double,Double,Double) Method
The layer of the feature to duplicate.
The oid of the feature to duplicate.
The xOffset in map units.
The yOffset in map units.
The zOffset in map units.
Version

Duplicate(Layer,Int64,Double,Double,Double) Method
Adds an edit operation that creates a duplicate of the specified feature with given geometry offsets.
Syntax
public void Duplicate( 
   Layer layer,
   long oid,
   double xOffset,
   double yOffset,
   double zOffset
)

Parameters

layer
The layer of the feature to duplicate.
oid
The oid of the feature to duplicate.
xOffset
The xOffset in map units.
yOffset
The yOffset in map units.
zOffset
The zOffset in map units.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also