ESRI.ArcGIS.ADF.ArcGISServer
GetDistance Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > GeometryServerProxy Class : GetDistance Method




SpatialReference
G1
G2
DistanceUnit

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 GetDistance( _
   ByVal SpatialReference As SpatialReference, _
   ByVal G1 As Geometry, _
   ByVal G2 As Geometry, _
   ByVal DistanceUnit As LinearUnit _
) As Double
Visual Basic (Usage)Copy Code
Dim instance As GeometryServerProxy
Dim SpatialReference As SpatialReference
Dim G1 As Geometry
Dim G2 As Geometry
Dim DistanceUnit As LinearUnit
Dim value As Double
 
value = instance.GetDistance(SpatialReference, G1, G2, DistanceUnit)
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 GetDistance( 
   SpatialReference SpatialReference,
   Geometry G1,
   Geometry G2,
   LinearUnit DistanceUnit
)

Parameters

SpatialReference
G1
G2
DistanceUnit

See Also

© 2010 All Rights Reserved.