IntelliCAD 11.1 Object Library | |
AngleToString Method | |
See Also |
- Angle
- The angle to convert.
- Unit
- Precision
- Integer between 0 and 8 specifying the number of decimal places for the angle.
Utility Object : AngleToString Method |
Description
Converts an angle to a string. Equivalent to angtos in LISP.
Syntax
Visual Basic |
---|
Public Function AngleToString( _ ByVal Angle As Double, _ ByVal Unit As AngleUnits, _ ByVal Precision As Long _ ) As String |
Parameters
- Angle
- The angle to convert.
- Unit
Value Description vicDegreeMinuteSeconds Angle in degrees, minutes, and seconds. vicDegrees Angle in degrees. vicGrads Angle in gradians. vicRadians Angle in radians. vicSurveyorUnits Angle in surveyor units. - Precision
- Integer between 0 and 8 specifying the number of decimal places for the angle.