ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / EllipticArcBuilderEx Constructor / EllipticArcBuilderEx Constructor(MapPoint,Double,Double,Double,ArcOrientation,SpatialReference)
The point from which the arc starts.
The length of the chord connecting start point to the end point of the arc. If negative, then the absolute value is used. Cannot be equal to zero.
The angle in radians of the chord connecting the start point to the end point of the arc.
The length of the circular arc. If negative, then the absolute value is used. Cannot be equal to zero.
The orientation of the arc, clockwise or counterclockwise.
(Optional) The spatial reference of the arc. The default value is null. The spatial reference of the start point is ignored.
Example

In This Topic
    EllipticArcBuilderEx Constructor(MapPoint,Double,Double,Double,ArcOrientation,SpatialReference)
    In This Topic
    Creates a new instance of the EllipticArcBuilderEx class. The new instance will be a circular arc.
    Syntax

    Parameters

    startPt
    The point from which the arc starts.
    chordLength
    The length of the chord connecting start point to the end point of the arc. If negative, then the absolute value is used. Cannot be equal to zero.
    chordBearing
    The angle in radians of the chord connecting the start point to the end point of the arc.
    arcLength
    The length of the circular arc. If negative, then the absolute value is used. Cannot be equal to zero.
    orientation
    The orientation of the arc, clockwise or counterclockwise.
    spatialReference
    (Optional) The spatial reference of the arc. The default value is null. The spatial reference of the start point is ignored.
    Exceptions
    Example
    Create Circle Text Element
    //Must be on QueuedTask.Run(() => { ...
    
    //Build geometry
    Coordinate2D center = new Coordinate2D(4.5, 4);
    var eabCir = new EllipticArcBuilderEx(center, 0.5, ArcOrientation.ArcClockwise);
    var cir = eabCir.ToSegment();
    
    var poly = PolygonBuilderEx.CreatePolygon(
      PolylineBuilderEx.CreatePolyline(cir, AttributeFlags.AllAttributes));
    
    //Set symbolology, create and add element to layout
    CIMTextSymbol sym = SymbolFactory.Instance.ConstructTextSymbol(
                    ColorFactory.Instance.GreenRGB, 10, "Arial", "Regular");
    string text = "Circle, circle, circle";
    
    GraphicElement cirTxtElm = ElementFactory.Instance.CreateTextGraphicElement(
      container, TextType.CircleParagraph, poly, sym, text, "New Circle Text", false);
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also