←Select platform

GetUnits Method

Summary

Returns a dictionary containing all the units and their current abbreviation.

Syntax
C#
Objective-C
C++/CLI
Python
public static Dictionary<AnnUnit, string> GetUnits() 
@property (class, nonatomic, strong, readonly) NSDictionary<NSNumber *, NSString *> *units; 
public:  
   static Dictionary<AnnUnit^, String^>^ GetUnits() 
def GetUnits(self): 

Return Value

A dictionary containing all the units (as the key) and their current abbreviation (as the value).

Remarks

Use GetUnitAbbreviation to get the current abbreviation to use with a unit in the UI and SetUnitAbbreviation to modify the abbreviation to use with a unit in the UI. Use GetUnits to get a dictionary containing the current abbreviation of all the units.

Requirements

Target Platforms

Help Version 22.0.2023.7.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.