ArcGIS Pro 2.7 API Reference Guide
AxisDirection Property (GeodesicEllipseParameter)
Example 

ArcGIS.Core.Geometry Namespace > GeodesicEllipseParameter Class : AxisDirection Property
Gets or sets the direction of the major axis of the ellipse as an angle in degrees.
Syntax
public double AxisDirection {get; set;}
Public Property AxisDirection As Double
Example
GeodesicEllipseParameter param = new GeodesicEllipseParameter();
param.AxisDirection = 4 * Math.PI / 3;
param.Center = new Coordinate2D(-120, 60);
param.LinearUnit = LinearUnit.Meters;
param.OutGeometryType = GeometryType.Polyline;
param.SemiAxis1Length = 6500000;
param.SemiAxis2Length = 1500000;
param.VertexCount = 800;

Geometry geometry = GeometryEngine.Instance.GeodesicEllipse(param, SpatialReferences.WGS84);
// geometry.IsEmpty = false

Polyline polyline = geometry as Polyline;
// polyline.PointCount = 801
// polyline.PartCount = 1
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeodesicEllipseParameter Class
GeodesicEllipseParameter Members