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: MM ME MD OD OM
Groups:
sis.SetUnits ("m", 2)
Sets the units to metres and to two decimal places.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).