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

surfaceArea
The surface area to evaluate.
parameters
Parameters used in the centroid evaluation.
cancellationToken
The cancellation token.
Asynchronous task that evaluates a central location on a surface area located on an image serviced.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CentroidTaskAsync( _
   ByVal surfaceArea As Envelope, _
   ByVal parameters As MensurationPointParameter, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of MensurationPointResult)

Parameters

surfaceArea
The surface area to evaluate.
parameters
Parameters used in the centroid evaluation.
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.