←Select platform

SmartMetricMaximumUnit Property

Summary

Gets or sets the maximum AnnUnit to use when using smart Metric units.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public static AnnUnit SmartMetricMaximumUnit { get; set; } 
Public Shared Property SmartMetricMaximumUnit As Leadtools.Annotations.Core.AnnUnit 
public static Leadtools.Annotations.Core.AnnUnit SmartMetricMaximumUnit {get; set;} 
@property (nonatomic) LTAnnUnit smartMetricMaximumUnit; 
public static AnnUnit getSmartMetricMaximumUnit() 
public static void setSmartMetricMaximumUnit(AnnUnit unit) 
             
  
get_SmartMetricMaximumUnit(); 
set_SmartMetricMaximumUnit(value); 
Object.defineProperty('SmartMetricMaximumUnit');  
public:  
   static property AnnUnit^ SmartMetricMaximumUnit 
   { 
      AnnUnit^ get() 
      void set(AnnUnit^ value) 
   } 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly