smartMetricMaximumUnit Property

Summary

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

Syntax
TypeScript
JavaScript
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.

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly