ESRI.ArcGIS.ADF.ArcGISServer
GetDistanceAsync(SpatialReference,Geometry,Geometry,LinearUnit,Object) Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > GeometryServerProxy Class > GetDistanceAsync Method : GetDistanceAsync(SpatialReference,Geometry,Geometry,LinearUnit,Object) Method




SpatialReference
G1
G2
DistanceUnit
userState

Syntax

Visual Basic (Declaration) 
Public Overloads Sub GetDistanceAsync( _
   ByVal SpatialReference As SpatialReference, _
   ByVal G1 As Geometry, _
   ByVal G2 As Geometry, _
   ByVal DistanceUnit As LinearUnit, _
   ByVal userState As Object _
) 
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 userState As Object
 
instance.GetDistanceAsync(SpatialReference, G1, G2, DistanceUnit, userState)
C# 
public void GetDistanceAsync( 
   SpatialReference SpatialReference,
   Geometry G1,
   Geometry G2,
   LinearUnit DistanceUnit,
   object userState
)

Parameters

SpatialReference
G1
G2
DistanceUnit
userState

See Also

© 2010 All Rights Reserved.