ArcGIS Pro 2.9 API Reference Guide
CreateEllipticArcSegment(MapPoint,MapPoint,Coordinate2D,esriArcOrientation,SpatialReference) Method

ArcGIS.Core.Geometry Namespace > EllipticArcBuilderEx Class > CreateEllipticArcSegment Method : CreateEllipticArcSegment(MapPoint,MapPoint,Coordinate2D,esriArcOrientation,SpatialReference) Method
The point from which the arc starts.
The point to which the arc ends.
The center point of the embedded circle.
The orientation of the arc, clockwise or counterclockwise.
(Optional) The spatial reference. The default value is null.
Convenience method to create a new instance of the EllipticArcSegment class. The new instance will be a circular arc from end points and the center point.
Syntax
Public Overloads Shared Function CreateEllipticArcSegment( _
   ByVal startPt As MapPoint, _
   ByVal endPt As MapPoint, _
   ByVal centerPt As Coordinate2D, _
   ByVal orientation As esriArcOrientation, _
   Optional ByVal spatialReference As SpatialReference _
) As EllipticArcSegment

Parameters

startPt
The point from which the arc starts.
endPt
The point to which the arc ends.
centerPt
The center point of the embedded circle.
orientation
The orientation of the arc, clockwise or counterclockwise.
spatialReference
(Optional) The spatial reference. The default value is null.

Return Value

Exceptions
ExceptionDescription
Incompatible spatial references.
startPt or endPt is null.
Remarks
The xy-tolerance from the spatial reference is used to create the elliptic arc. If the spatial reference is null, then a default tolerance is used which may cause unexpected results.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EllipticArcBuilderEx Class
EllipticArcBuilderEx Members
Overload List