Defines a helper class for unit conversions and abbreviations.
public static class AnnUnitConverter
Public MustInherit NotInheritable Class AnnUnitConverter
public sealed static class AnnUnitConverter
@interface LTAnnUnitConverter : NSObject
public final class AnnUnitConverter
function Leadtools.Annotations.Core.AnnUnitConverter()
public:
ref class AnnUnitConverter sealed abstract
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET