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

ArcGIS.Core.Geometry Namespace > EllipticArcBuilderEx Class > CreateEllipticArcSegment Method : CreateEllipticArcSegment(Coordinate2D,Double,esriArcOrientation,SpatialReference) Method
The center of the circle.
The radius of the circle.
The ellipse orientation, clockwise or counterclockwise.
(Optional) The SpatialReference of the ellipse. The default value is null.
Convenience method to create a new instance of the EllipticArcSegment class. The new instance will build a circle from a center point and radius.
Syntax
Public Overloads Shared Function CreateEllipticArcSegment( _
   ByVal centerPt As Coordinate2D, _
   ByVal radius As Double, _
   ByVal orientation As esriArcOrientation, _
   Optional ByVal spatialReference As SpatialReference _
) As EllipticArcSegment

Parameters

centerPt
The center of the circle.
radius
The radius of the circle.
orientation
The ellipse orientation, clockwise or counterclockwise.
spatialReference
(Optional) The SpatialReference of the ellipse. The default value is null.

Return Value

Exceptions
ExceptionDescription
radius is NaN.
centerPt is empty.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EllipticArcBuilderEx Class
EllipticArcBuilderEx Members
Overload List