ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / CentralAngle Property
Example

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

    Property Value

    A double representing the central angle.
    Exceptions
    ExceptionDescription
    The CentralAngle is NaN.
    Remarks
    Changing the central angle may also change the end point, end angle, and orientation.
    Example
    Elliptic Arc Builder Properties
    // retrieve the curve's properties
    EllipticArcBuilderEx builder = new EllipticArcBuilderEx(arcSegment);
    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, Windows 10, Windows 8.1

    See Also