Represents the unit of measurement for lengths and positions.
lt.Annotations.Engine.AnnUnit = {
unit: 0,
display: 1,
document: 2,
smartEnglish: 3,
smartMetric: 4,
inch: 5,
millimeter: 6,
point: 7,
feet: 8,
yard: 9,
micrometer: 10,
centimeter: 11,
meter: 12,
twip: 13,
pixel: 14,
customUnit: 15
}
lt.Annotations.Engine.AnnUnit = {
unit: 0,
display: 1,
document: 2,
smartEnglish: 3,
smartMetric: 4,
inch: 5,
millimeter: 6,
point: 7,
feet: 8,
yard: 9,
micrometer: 10,
centimeter: 11,
meter: 12,
twip: 13,
pixel: 14,
customUnit: 15
}
0 | Unit |
(0) Specifies an annotation unit (1/720 of an inch). |
1 | Display |
(1) Specifies 1/100 inch as the unit of measure. |
2 | Document |
(2) Specifies 1/300 inch as the unit of measure. |
3 | SmartEnglish |
(3) Specifies that measurement in "smart" English. A "smart" unit is a unit that can be automatically promoted to the next higher unit. The length displayed will be in the most appropriate unit. |
4 | SmartMetric |
(4) Specifies that measurement is in "smart" metric. A "smart" unit is a unit that can be automatically promoted to the next higher unit. The length displayed will be in the most appropriate unit. |
5 | Inch |
(5) Specifies the inch as the unit of measure. |
6 | Millimeter |
(6) Specifies the millimeter as the unit of measure. |
7 | Point |
(7) Specifies a printer's point (1/72 inch) as the unit of measure. |
8 | Feet |
(8) Specifies feet as the unit of measure. |
9 | Yard |
(9) Specifies the yard as the unit of measure. |
10 | Micrometer |
(10) Specifies the micrometer (1/1000 millimeter) as the unit of measure. |
11 | Centimeter |
(11) Specifies the centimeter as the unit of measure. |
12 | Meter |
(12) Specifies the meter as the unit of measure. |
13 | Twip |
(13) Specifies the twip (TWentIeth of a Point) as the unit of measure. |
14 | Pixel |
(14) Specifies the pixel as the unit of measure. |
15 | CustomUnit |
(15) Specifies a custom unit of measurement. |
For Custom
units, use AnnUnitConverter.CustomUnitPerInch and AnnUnitConverter.CustomUnitAbbreviation to change the default values and specify the actual unit value and abbreviation.
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.