ArcGIS Runtime SDK for WPF - Library Reference
DistanceAndAngleTaskAsync(MapPoint,MapPoint,MensurationLengthParameter,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > MensurationTask Class > DistanceAndAngleTaskAsync Method : DistanceAndAngleTaskAsync(MapPoint,MapPoint,MensurationLengthParameter,CancellationToken) Method

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

Syntax

Visual Basic (Declaration) 
Public Overloads Function DistanceAndAngleTaskAsync( _
   ByVal point1 As MapPoint, _
   ByVal point2 As MapPoint, _
   ByVal parameters As MensurationLengthParameter, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of MensurationLengthResult)

Parameters

point1
The first point.
point2
The second point.
parameters
Parameters used in the calculation of the distance and angle of the two points.
cancellationToken
The cancellation 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.