ArcGIS Pro 2.8 API Reference Guide
ConvertToRadians Method
Example 

ArcGIS.Core.Geometry Namespace > AngularUnit Class : ConvertToRadians Method
Angle in the units of this instance.
Converts the angle to radians.
Syntax
public double ConvertToRadians( 
   double angle
)
Public Function ConvertToRadians( _
   ByVal angle As Double _
) As Double

Parameters

angle
Angle in the units of this instance.

Return Value

Angle converted to radians.
Example
// convert 45 degrees to radians
double radians = AngularUnit.Degrees.ConvertToRadians(45);

// convert PI to degrees
double degrees = AngularUnit.Degrees.ConvertFromRadians(Math.PI);
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

AngularUnit Class
AngularUnit Members