ArcGIS Pro 2.7 API Reference Guide
Rotate(Layer,Int64,MapPoint,Double) Method

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
Rotates a feature.
Syntax
public void Rotate( 
   Layer layer,
   long oid,
   MapPoint origin,
   double angle
)
Public Overloads Sub Rotate( _
   ByVal layer As Layer, _
   ByVal oid As Long, _
   ByVal origin As MapPoint, _
   ByVal angle As Double _
) 

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 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List