ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / EllipticArcBuilderEx Class / CenterPoint Property
Example

In This Topic
    CenterPoint Property (EllipticArcBuilderEx)
    In This Topic
    Gets or sets the center point of the arc.
    Syntax
    public Coordinate2D CenterPoint {get; set;}
    Public Property CenterPoint As Coordinate2D

    Property Value

    A Coordinate2D representing the center point.
    Exceptions
    ExceptionDescription
    The CenterPoint is empty.
    Remarks
    Changing the center point may also change the start point and end point. All other properties are preserved.
    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

    ArcGIS Pro version: 3 or higher.
    See Also