Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Convert(Single,AnnAngularUnit,AnnAngularUnit) Method
See Also 
Leadtools.Annotations Namespace > AnnUnitConverter Class > Convert Method : Convert(Single,AnnAngularUnit,AnnAngularUnit) Method




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.
Converts an angular value from one unit to another.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Convert( _
   ByVal value As Single, _
   ByVal srcUnit As AnnAngularUnit, _
   ByVal destUnit As AnnAngularUnit _
) As Single
Visual Basic (Usage)Copy Code
Dim value As Single
Dim srcUnit As AnnAngularUnit
Dim destUnit As AnnAngularUnit
Dim value As Single
 
value = AnnUnitConverter.Convert(value, srcUnit, destUnit)
C# 
public static float Convert( 
   float value,
   AnnAngularUnit srcUnit,
   AnnAngularUnit destUnit
)
Managed Extensions for C++ 
public: static float Convert( 
   float value,
   AnnAngularUnit srcUnit,
   AnnAngularUnit destUnit
) 
C++/CLI 
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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features