←Select platform

AnnUnit Enumeration

Summary
Represents the unit of measurement for length and position.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public enum AnnUnit  
typedef NS_ENUM(NSInteger, LTAnnUnit) { 
 LTAnnUnitUnit = 0,  
 LTAnnUnitDisplay = 1,  
 LTAnnUnitDocument = 2,  
 LTAnnUnitSmartEnglish = 3,  
 LTAnnUnitSmartMetric = 4,  
 LTAnnUnitInch = 5,  
 LTAnnUnitMillimeter = 6,  
 LTAnnUnitPoint = 7,  
 LTAnnUnitFeet = 8,  
 LTAnnUnitYard = 9,  
 LTAnnUnitMicrometer = 10,  
 LTAnnUnitCentimeter = 11,  
 LTAnnUnitMeter = 12,  
 LTAnnUnitTwip = 13,  
 LTAnnUnitPixel = 14,  
}; 
public enum AnnUnit 
public: 
   enum class AnnUnit sealed 
class AnnUnit(Enum): 
   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
ValueMemberDescription
0Unit Specifies an annotation unit (1/720 of an inch).
1Display Specifies 1/100 inch as the unit of measure.
2Document Specifies 1/300 inch as the unit of measure.
3SmartEnglish 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.
4SmartMetric 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.
5Inch Specifies the inch as the unit of measure.
6Millimeter Specifies the millimeter as the unit of measure.
7Point Specifies a printer's point (1/72 inch) as the unit of measure.
8Feet Specifies feet as the unit of measure.
9Yard Specifies the yard as the unit of measure.
10Micrometer Specifies the micrometer (1/1000 millimeter) as the unit of measure.
11Centimeter Specifies the centimeter as the unit of measure.
12Meter Specifies the meter as the unit of measure.
13Twip Specifies the twip (TWentIeth of a Point) as the unit of measure.
14Pixel Specifies the pixel as the unit of measure.
15CustomUnit 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 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.