ESRI.ArcGIS.Mobile
FromUnitToUnit Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.SpatialReferences Namespace > Unit Class : FromUnitToUnit Method

value
sourceUnit
targetUnit
Converts the value in source units into a new value in target units.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromUnitToUnit( _
   ByVal value As Double, _
   ByVal sourceUnit As Unit, _
   ByVal targetUnit As Unit _
) As Double
C# 
public static double FromUnitToUnit( 
   double value,
   Unit sourceUnit,
   Unit targetUnit
)

Parameters

value
sourceUnit
targetUnit

Remarks

This method will not correctly convert from angular unit to non angular unit, or the reverse. Only a geodesic mathematical operation using coordinates would provide a proper result.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also