Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetUnitAbbreviation Method
See Also 
Leadtools.Annotations Namespace > AnnUnitConverter Class : GetUnitAbbreviation Method



unit
The unit of measure for which the abbreviation is being sought.
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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