Get/Set
The Units property provides access to the AngularUnit that gives the units for this AngularValue.
Private Sub GeoCalcNET_AngularValue_Units(ByVal av As GeoCalcNET.AngularValue, ByVal data As GeoCalcNET.DataSourceComponent)
Dim au As GeoCalcNET.AngularUnit = av.Units
av.Units = data.GetAngularUnit("BMG", "DEGREES")
End Sub
private void GeoCalcNET_AngularValue_Units(GeoCalcNET.DataSourceComponent data)
{
GeoCalcNET.AngularUnit au = data.GetAngularUnit("BMG", "GRADS");
GeoCalcNET.AngularValue av = new GeoCalcNET.AngularValue();
av.Units = au;
av.InUnits = 43.2;
av.Label = "Geodetic Latitude";
GeoCalcNET.PrimeMeridian pm = data.GetPrimeMeridian("BMG", "Madrid");
GeoCalcNET.AngularValue av2 = pm.Longitude;
GeoCalcNET.AngularUnit au2 = av2.Units;
}