ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / Rotate Method / Rotate(Layer,Int64,MapPoint,Double) Method
The layer of the feature to rotate.
The oid of the feature to rotate.
The origin around which the geometry will be rotated.
The rotation angle in radians
Version

Rotate(Layer,Int64,MapPoint,Double) Method
Rotates a feature.
Syntax
public void Rotate( 
   Layer layer,
   long oid,
   MapPoint origin,
   double angle
)

Parameters

layer
The layer of the feature to rotate.
oid
The oid of the feature to rotate.
origin
The origin around which the geometry will be rotated.
angle
The rotation angle in radians
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also