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

ArcGIS.Core.Geometry Namespace > EllipticArcBuilderEx Class > CreateEllipticArcSegment Method : CreateEllipticArcSegment(Coordinate2D,Double,Double,Double,esriArcOrientation,SpatialReference) Method
The center point of the ellipse.
The angle in radians by which the ellipse is rotated from the x-axis. A positive value corresponds to counterclockwise rotation.
The length of the semi-major axis.
The ratio of the length of the semi-minor axis to the length of the semi-major axis.
The ellipse orientation, clockwise or counterclockwise.
(Optional) The spatial reference of the ellipse. The default value is null.
Convenience method to create a new instance of the EllipticArcSegment class. The new instance will build an ellipse.
Syntax

Parameters

centerPt
The center point of the ellipse.
rotationAngle
The angle in radians by which the ellipse is rotated from the x-axis. A positive value corresponds to counterclockwise rotation.
semiMajorAxis
The length of the semi-major axis.
minorMajorRatio
The ratio of the length of the semi-minor axis to the length of the semi-major axis.
orientation
The ellipse orientation, clockwise or counterclockwise.
spatialReference
(Optional) The spatial reference of the ellipse. The default value is null.

Return Value

Exceptions
ExceptionDescription
rotationAngle, semiMajorAxis or minorMajorRatio is NaN.
centerPt is empty.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

EllipticArcBuilderEx Class
EllipticArcBuilderEx Members
Overload List