smartMetricMaximumUnit Property

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(AnnUnitConverter.prototype, 'smartMetricMaximumUnit', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly