SetUnits
Sets the preferred units used in the user interface.
Visual Basic |
---|
Public Function SetUnits( _
ByVal units As String, _
ByVal places As Integer _
) As String
|
units
A string describing the units to use. Currently valid strings are: m, mm, cm, km, foot, inch, imperial, yd, fathom, mile and nautical mile.
places
The number of decimal places to display.
Note: This method is included for backwards compatibility. Use SetCoordinates instead.
Available: D OD OM
Groups:
sis.SetUnits ("m", 2)
Sets the units to metres and to two decimal places.