public sealed static class AnnUnitConverter
function Leadtools.Annotations.Core.AnnUnitConverter()
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
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2