LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

GetUnitAbbreviation Method






The unit of measure for which the abbreviation is being sought.
Gets the abbreviation for a given unit of measure.
Syntax
public static string GetUnitAbbreviation( 
   AnnUnit unit
)
'Declaration
 
Public Shared Function GetUnitAbbreviation( _
   ByVal unit As AnnUnit _
) As String
'Usage
 
Dim unit As AnnUnit
Dim value As String
 
value = AnnUnitConverter.GetUnitAbbreviation(unit)
public static string GetUnitAbbreviation( 
   AnnUnit unit
)
 function Leadtools.Annotations.AnnUnitConverter.GetUnitAbbreviation( 
   unit 
)
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 Annotations Automation.
Example
For an example, refer to AnnUnitConverter.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnUnitConverter Class
AnnUnitConverter Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.