ArcGIS Pro 3.3 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

In This Topic
    Rotate(Layer,Int64,MapPoint,Double) Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also