AnnUnit Enumeration

Summary

Represents the unit of measurement for lengths and positions.

Syntax
TypeScript
JavaScript
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 
} 

Members

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.

Remarks

For Custom units, use AnnUnitConverter.CustomUnitPerInch and AnnUnitConverter.CustomUnitAbbreviation to change the default values and specify the actual unit value and abbreviation.

Requirements

Target Platforms

Help Version 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly