Defines a helper class for unit conversions and abbreviations.
function lt.Annotations.Engine.AnnUnitConverter
class lt.Annotations.Engine.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
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document