←Select platform

Convert(float,AnnAngularUnit,AnnAngularUnit) Method

Summary

Converts an angular value from one unit to another.

Syntax

C#
VB
C++
public static float Convert( 
   float value, 
   AnnAngularUnit srcUnit, 
   AnnAngularUnit destUnit 
) 
  
Public Overloads Shared Function Convert( _ 
   ByVal value As Single, _ 
   ByVal srcUnit As Leadtools.Annotations.AnnAngularUnit, _ 
   ByVal destUnit As Leadtools.Annotations.AnnAngularUnit _ 
) As Single 
public: 
static float Convert(  
   float value, 
   Leadtools.Annotations.AnnAngularUnit srcUnit, 
   Leadtools.Annotations.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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly