←Select platform

SmartMetricMaximumUnit Property

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

Property Value

The maximum AnnUnit to use when using smart Metric units. Default value is AnnUnit.SmartMetric meaning no maximum.

Remarks

SmartMetricMaximumUnit controls what is the maximum unit to use when representing a smart Metric length value. For example if the length is 1 meter and 10 centimeters, it can be represented in centimeters as 110cm by setting the value of SmartMetricMaximumUnit to AnnUnit.Centimeter. The default value of AnnUnit.SmartMetric means use the default behavior of no maximum and the in the case above, will show 1 meter and 10 centimeters.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.