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

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

Syntax

Visual Basic (Declaration) 
Public Overloads Sub CentroidAsync( _
   ByVal surfaceArea As Envelope, _
   ByVal parameters As MensurationPointParameter, _
   Optional ByVal userToken As Object _
) 
C# 
public void CentroidAsync( 
   Envelope surfaceArea,
   MensurationPointParameter parameters,
   object userToken
)

Parameters

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