ArcGIS Runtime SDK for Windows Phone - Library Reference
DistanceAndAngleAsync Method
See Also  Send comments on this topic
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 Phone 7

See Also

© ESRI, Inc. All Rights Reserved.