function Leadtools.Annotations.Core.AnnUnitConverter()
!MISSING Scrap '_RTJavaScript_Class_SYNTAX'!
The AnnUnitConverter class contains helper methods for unit conversions and abbreviations used through out the LEADTOOLS annotations toolkit. You can use the methods of this class to perform the following:
Use GetUnitAbbreviation and GetAngularUnitAbbreviation to get the text abbreviations for the units used in the annotations toolkit. For example, the default abbreviation for AnnUnit.Inch is the string value In
.
Use SetUnitAbbreviation to change the abbreviation of any unit used by the annotation toolkit. For example, to change the abbreviation for AnnUnit.Inch from the default value of In
to "
if desirable.
Convert, ConvertToPixels, ConvertFromPixels and ConvertAngularUnit to convert a value from one unit to another