InUnits Property

Type

System.Double

 

Access

Get/Set

 

Description

The InUnits property provides access to the value of this AngularValue in the units specified by the Units property.

 

Example

[VB]

Private Sub GeoCalcNET_AngularValue_InUnits(ByVal av As GeoCalcNET.AngularValue)

Dim u As Double = av.InUnits

av.InUnits = 44.802

End Sub

 

[C#]

private void GeoCalcNET_AngularValue_InUnits(GeoCalcNET.AngularValue av)

{

double val = av.InUnits;

String s = "the angular unit contains the value: " + val.ToString() + " " + av.Units.Abbreviation;

av.InUnits = 52.25;

}