FromBaseUnits Method

[VB]

Public Function FromBaseUnits(ByVal value As Double) As Double

[C#]

public System.Double FromBaseUnits(System.Double value)

 

Description

The FromBaseUnits method converts the value passed as argument from meters to the units specified by this LinearUnit and returns it.

 

Example

[VB]

Private Sub GeoCalcNET_LinearUnit_FromBaseUnits(ByVal lu As GeoCalcNET.LinearUnit)

Dim baseVal As Double = 3

Dim unitVal As Double = lu.FromBaseUnits(baseVal)

End Sub

 

[C#]

private void GeoCalcNET_LinearUnit_FromBaseUnits(GeoCalcNET.LinearUnit lu)

{

double d = lu.FromBaseUnits(1400);

}