Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetUnitAbbreviation Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationManager 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 = AnnAutomationManager.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.

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 WPF Annotations Automation.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

GetUnitAbbreviation requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.