←Select platform

GetUnitAbbreviation Method

Summary

Gets the abbreviation for a given unit of measure.

Syntax

C#
VB
C++
public static string GetUnitAbbreviation( 
   AnnUnit unit 
) 
  
Public Shared Function GetUnitAbbreviation( _ 
   ByVal unit As Leadtools.Annotations.AnnUnit _ 
) As String 
public: 
static String^ GetUnitAbbreviation(  
   Leadtools.Annotations.AnnUnit unit 
)  

Parameters

unit
The unit of measure for which the abbreviation is being sought.

Return Value

String containing the abbreviation.

Remarks

For information regarding text strings used throughout the user interface in the automated mode, including default abbreviations for different units, refer to Localization of LEADTOOLS for .NET Annotations Automation (Deprecated).

Example

For an example, refer to AnnUnitConverter.

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 Assembly