ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / RotationAngle Property
Example

In This Topic
    RotationAngle Property (EllipticArcBuilderEx)
    In This Topic
    Gets or sets the rotation angle of the major axis in radians.
    Syntax
    Public Property RotationAngle As Double
    public double RotationAngle {get; set;}

    Property Value

    A double representing the rotation angle.
    Exceptions
    ExceptionDescription
    The RotationAngle is NaN.
    Remarks
    The rotation angle specifies the angle relative to the X-axis by which the elliptic arc is rotated. Changing the rotation angle may change the start and end points.
    Example
    Elliptic Arc Builder Properties
    {
      // retrieve the curve's properties
      EllipticArcBuilderEx builder = new EllipticArcBuilderEx(ellipticArcSegment);
      MapPoint startPt = builder.StartPoint;
      MapPoint endPt = builder.EndPoint;
      Coordinate2D centerPt = builder.CenterPoint;
      bool isCircular = builder.IsCircular;
      bool isMinor = builder.IsMinor;
      double startAngle = builder.StartAngle;
      double endAngle = builder.EndAngle;
      double centralAngle = builder.CentralAngle;
      double rotationAngle = builder.RotationAngle;
      ArcOrientation orientation = builder.Orientation;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also