smartMetricMaximumUnit Property


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

Object.defineProperty(AnnUnitConverter.prototype, 'smartMetricMaximumUnit', 
	get: function(), 
	set: function(value) 
static smartMetricMaximumUnit: AnnUnit; 

Property Value

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


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.

Target Platforms
Help Version 21.0.2021.3.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly