The GetUnitAbbreviation Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- unit
- The unit of measure for which the abbreviation is being sought.
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) |
Parameters
- unit
- The unit of measure for which the abbreviation is being sought.
Return Value
String containing the abbreviation.For an example, refer to AnnUnitConverter.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7