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

Convert(Single,AnnAngularUnit,AnnAngularUnit) Method






Value to be converted. This is in srcUnit units.
An AnnAngularUnit value that represents the angular unit of measure used by the Source.
An AnnAngularUnit value that represents the angular unit of measure used by the Destination.
Converts an angular value from one unit to another.
Syntax
public static float Convert( 
   float value,
   AnnAngularUnit srcUnit,
   AnnAngularUnit destUnit
)
'Declaration
 
Public Overloads Shared Function Convert( _
   ByVal value As Single, _
   ByVal srcUnit As AnnAngularUnit, _
   ByVal destUnit As AnnAngularUnit _
) As Single
'Usage
 
Dim value As Single
Dim srcUnit As AnnAngularUnit
Dim destUnit As AnnAngularUnit
Dim value As Single
 
value = AnnUnitConverter.Convert(value, srcUnit, destUnit)
public static float Convert( 
   float value,
   AnnAngularUnit srcUnit,
   AnnAngularUnit destUnit
)
 function Leadtools.Annotations.AnnUnitConverter.Convert(Single,AnnAngularUnit,AnnAngularUnit)( 
   value ,
   srcUnit ,
   destUnit 
)
public:
static float Convert( 
   float value,
   AnnAngularUnit srcUnit,
   AnnAngularUnit destUnit
) 

Parameters

value
Value to be converted. This is in srcUnit units.
srcUnit
An AnnAngularUnit value that represents the angular unit of measure used by the Source.
destUnit
An AnnAngularUnit value that represents the angular unit of measure used by the Destination.

Return Value

The converted value.
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
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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