UnitsPerMeter Property

Type

System.Double

 

Access

Get/Set

 

Description

The UnitsPerMeter property provides access to a double value that expresses this LinearUnit in terms of meters.  This property gives the number of specified units that can fit in one meter.

 

Example

[VB]

Private Sub GeoCalcNET_LinearUnit_UnitsPerMeter(ByVal lu As GeoCalcNET.LinearUnit)

Dim d As Double = lu.UnitsPerMeter

lu.UnitsPerMeter = 0.04970909090909

End Sub

 

[C#]

private void GeoCalcNET_LinearUnit_UnitsPerMeter(GeoCalcNET.LinearUnit lu)

{

lu.Abbreviation = "p";

lu.Name = "Perch (p)";

lu.UnitsPerMeter = 0.1988383838;

}