Article | 70002278 |
Type | Wish |
Product | WebJS |
Version | 1001 |
Date Added | 11/22/2022 12:00:00 AM |
Fixed | 10.1002.0.5 (11/22/2022 12:00:00 AM) |
Submitted by | Christian Holbrook |
Summary
Format Length and angles with Linear and Angular units
Solution
New methods vdConst.FormatLength and vdConst.FormatAngle was added in version 1002.0.5
Example:
var vddoc = vdcanvas.GetDocument();
var str = vdConst.FormatLength(5.12345678, vddoc.lunits);
var str2 = vdConst.FormatAngle(3.1415, vddoc.aunits);