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) |
C# | |
---|---|
public Task<MensurationLengthResult> DistanceAndAngleTaskAsync( MapPoint point1, MapPoint point2, MensurationLengthParameter parameters, CancellationToken cancellationToken ) |
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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8