InMeters Property

Type

System.Double

 

Access

Get/Set

 

Description

The InMeters property allows one to get or set the value of this LinearValue in terms of meters.  If the Units used with this LinearValue are not meters, then the appropriate conversion will be made.

 

Example

[VB]

Private Sub GeoCalcNET_LinearValue_InMeters(ByVal lv As GeoCalcNET.LinearValue)

Dim d As Double = lv.InMeters

lv.InMeters = 12

End Sub

 

[C#]

private void GeoCalcNET_LinearValue_InMeters(GeoCalcNET.LinearValue lv)

{

double d = lv.InMeters;

lv.InMeters = 1000;

}