ESRI.ArcGIS.ADF.ArcGISServer
ComputeDistance Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > MapServerProxy Class : ComputeDistance Method




MapName
FromPoint
ToPoint
Units

Syntax

Visual Basic (Declaration) 
<SoapDocumentMethodAttribute(RequestNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   ResponseNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   Use=SoapBindingUse.Literal, 
   ParameterStyle=SoapParameterStyle.Wrapped)>
Public Function ComputeDistance( _
   ByVal MapName As String, _
   ByVal FromPoint As Point, _
   ByVal ToPoint As Point, _
   ByVal Units As esriUnits _
) As Double
Visual Basic (Usage)Copy Code
Dim instance As MapServerProxy
Dim MapName As String
Dim FromPoint As Point
Dim ToPoint As Point
Dim Units As esriUnits
Dim value As Double
 
value = instance.ComputeDistance(MapName, FromPoint, ToPoint, Units)
C# 
[SoapDocumentMethodAttribute(RequestNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   ResponseNamespace="http://www.esri.com/schemas/ArcGIS/10.0", 
   Use=SoapBindingUse.Literal, 
   ParameterStyle=SoapParameterStyle.Wrapped)]
public double ComputeDistance( 
   string MapName,
   Point FromPoint,
   Point ToPoint,
   esriUnits Units
)

Parameters

MapName
FromPoint
ToPoint
Units

See Also

© 2010 All Rights Reserved.