ArcObjects Library Reference (Geometry)  

IAngularUnit.RadiansPerUnit Property

The radians per angular unit.

[Visual Basic .NET]
Public ReadOnly Property RadiansPerUnit As Double
[C#]
public double RadiansPerUnit {get;}
[C++]
HRESULT get_RadiansPerUnit(
  double* RadiansPerUnit
);
[C++]

Parameters

RadiansPerUnit [out, retval]   RadiansPerUnit is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
[C#]

    public void angularUnitRadiansExample()
    {
        Type factoryType = Type.GetTypeFromProgID("esriGeometry.SpatialReferenceEnvironment");
        System.Object obj = Activator.CreateInstance(factoryType);
        ISpatialReferenceFactory3 spatialReferenceFactory = obj as ISpatialReferenceFactory3;

        IUnit unit = spatialReferenceFactory.CreateUnit((int)esriSRUnitType.esriSRUnit_ArcSecond);
        IAngularUnit angularUnit = unit as IAngularUnit;
        //Get the RadiansPerUnit value
        System.Windows.Forms.MessageBox.Show(Convert.ToString(angularUnit.RadiansPerUnit));
    }

See Also

IAngularUnit Interface