LEADTOOLS Annotations (Leadtools.Annotations assembly)

Convert(Single,AnnAngularUnit,AnnAngularUnit) Method

Show in webframe





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
) 

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

See Also

Reference

AnnUnitConverter Class
AnnUnitConverter Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.