smartEnglishMaximumUnit Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnUnitConverter.prototype, 'smartEnglishMaximumUnit', 
	get: function(), 
	set: function(value) 
) 
static smartEnglishMaximumUnit: AnnUnit; 

Property Value

The maximum AnnUnit to use when using smart English units. Default value is AnnUnit.SmartEnglish meaning no maximum.

Remarks

SmartEnglishMaximumUnit controls what is the maximum unit to use when representing a smart English length value. For example if the length is 1 yard 1 ft and 1 inches, it can be represented in feets only as 9ft 1in by setting the value of SmartEnglishMaximumUnit to AnnUnit.Feet. The default value of AnnUnit.SmartEnglish means use the default behavior of no maximum and the in the case above, will show 1 yard, 1 ft and 1 in.

Requirements

Target Platforms

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