setUnitAbbreviation Method

Summary

Modifies the default string abbreviation to be used with a specific unit.

Syntax
TypeScript
JavaScript
setUnitAbbreviation = function( 
   unit, 
   newValue 
) 
static setUnitAbbreviation( 
   unit: AnnUnit, 
   newValue: string 
): string; 

Parameters

unit

The unit value to change its abbreviation.

newValue

A string value that specifies the abbreviation to be used with unit.

Return Value

A string that specifies the previous default value.

Remarks

You can use this method to globally change the abbreviation used with any unit during the life of your program.

Requirements

Target Platforms

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