ArcFM Responder Mobile Developer Guide
ConvertLength Method (MMUnitConversionClass)






Syntax
'Declaration
 
Public Overridable Function ConvertLength( _
   ByVal dFromLength As System.Double, _
   ByVal eFromUnits As ESRI.ArcGIS.esriSystem.esriUnits, _
   ByVal eToUnits As ESRI.ArcGIS.esriSystem.esriUnits _
) As System.Double
'Usage
 
Dim instance As MMUnitConversionClass
Dim dFromLength As System.Double
Dim eFromUnits As ESRI.ArcGIS.esriSystem.esriUnits
Dim eToUnits As ESRI.ArcGIS.esriSystem.esriUnits
Dim value As System.Double
 
value = instance.ConvertLength(dFromLength, eFromUnits, eToUnits)
public virtual System.double ConvertLength( 
   System.double dFromLength,
   ESRI.ArcGIS.esriSystem.esriUnits eFromUnits,
   ESRI.ArcGIS.esriSystem.esriUnits eToUnits
)
public function ConvertLength( 
    dFromLength: System.Double;
    eFromUnits: ESRI.ArcGIS.esriSystem.esriUnits;
    eToUnits: ESRI.ArcGIS.esriSystem.esriUnits
): System.Double; virtual; 
public function ConvertLength( 
   dFromLength : System.double,
   eFromUnits : ESRI.ArcGIS.esriSystem.esriUnits,
   eToUnits : ESRI.ArcGIS.esriSystem.esriUnits
) : System.double;
public: virtual System.double ConvertLength( 
   System.double dFromLength,
   ESRI.ArcGIS.esriSystem.esriUnits eFromUnits,
   ESRI.ArcGIS.esriSystem.esriUnits eToUnits
) 
public:
virtual System.double ConvertLength( 
   System.double dFromLength,
   ESRI.ArcGIS.esriSystem.esriUnits eFromUnits,
   ESRI.ArcGIS.esriSystem.esriUnits eToUnits
) 

Parameters

dFromLength
eFromUnits
eToUnits
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

MMUnitConversionClass Class
MMUnitConversionClass Members

Send Feedback