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

point1
The first point.
point2
The second point.
parameters
Parameters used in the calculation of the distance and angle of the two points.
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 _
) As Task(Of MensurationLengthResult)
C# 
public Task<MensurationLengthResult> DistanceAndAngleTaskAsync( 
   MapPoint point1,
   MapPoint point2,
   MensurationLengthParameter parameters
)

Parameters

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

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.