LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetUnitAbbreviation Method
See Also 
Leadtools.Annotations Namespace > AnnUnitConverter Class : GetUnitAbbreviation Method



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

The GetUnitAbbreviation Method is available in LEADTOOLS Document and Medical Imaging toolkits.

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

Syntax

Visual Basic (Declaration) 
Public Shared Function GetUnitAbbreviation( _
   ByVal unit As AnnUnit _
) As String
Visual Basic (Usage)Copy Code
Dim unit As AnnUnit
Dim value As String
 
value = AnnUnitConverter.GetUnitAbbreviation(unit)
C# 
public static string GetUnitAbbreviation( 
   AnnUnit unit
)
C++/CLI 
public:
static String^ GetUnitAbbreviation( 
   AnnUnit unit
) 

Parameters

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

Return Value

String containing the abbreviation.

Example

For an example, refer to AnnUnitConverter.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features