ArcGIS Runtime SDK for WPF - Library Reference
DistanceAndAngleAsync Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > MensurationTask Class : DistanceAndAngleAsync Method

point1
The first point.
point2
The second point.
parameters
Parameters used in the calculation of the distance and angle of the two points.
userToken
The user token.
Asynchronous task that calculates the distance and angle between to points on an image service.

Syntax

Visual Basic (Declaration) 
Public Sub DistanceAndAngleAsync( _
   ByVal point1 As MapPoint, _
   ByVal point2 As MapPoint, _
   ByVal parameters As MensurationLengthParameter, _
   Optional ByVal userToken As Object _
) 
C# 
public void DistanceAndAngleAsync( 
   MapPoint point1,
   MapPoint point2,
   MensurationLengthParameter parameters,
   object userToken
)

Parameters

point1
The first point.
point2
The second point.
parameters
Parameters used in the calculation of the distance and angle of the two points.
userToken
The user token.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.