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

In This Topic
    EndAngle Property (EllipticArcBuilderEx)
    In This Topic
    Gets or sets the end angle in radians.
    Syntax
    Public Property EndAngle As Double
    public double EndAngle {get; set;}

    Property Value

    A double representing the end angle.
    Exceptions
    ExceptionDescription
    The EndAngle is NaN.
    Remarks
    The end angle is the angle of the line defined by the CenterPoint and the EndPoint. If RotationAngle != 0, then the end angle is relative to the rotated SemiMajorAxis rather than the X-axis. The end angle is is measured in radians and is always between -PI and +PI. Changing the end angle may also change the end point and central angle.
    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