←Select platform

SmartEnglishMaximumUnit Property

Summary
Gets or sets the maximum AnnUnit to use when using smart English units.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static AnnUnit SmartEnglishMaximumUnit { get; set; } 
@property (class, nonatomic, assign) LTAnnUnit smartEnglishMaximumUnit; 
public static AnnUnit getSmartEnglishMaximumUnit() 
public static void setSmartEnglishMaximumUnit(AnnUnit unit) 
public:  
   static property AnnUnit^ SmartEnglishMaximumUnit 
   { 
      AnnUnit^ get() 
      void set(AnnUnit^ value) 
   } 
SmartEnglishMaximumUnit # get and set (AnnUnitConverter) 

Property Value

The maximum AnnUnit to use when using smart English units. Default value is AnnUnit.SmartEnglish meaning no maximum.

Remarks

SmartEnglishMaximumUnit controls what is the maximum unit to use when representing a smart English length value. For example if the length is 1 yard 1 ft and 1 inches, it can be represented in feets only as 9ft 1in by setting the value of SmartEnglishMaximumUnit to AnnUnit.Feet. The default value of AnnUnit.SmartEnglish means use the default behavior of no maximum and the in the case above, will show 1 yard, 1 ft and 1 in.

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.