ArcGIS API for Silverlight - Library Reference
CentroidAsync(Polygon,MensurationPointParameter,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > MensurationTask Class > CentroidAsync Method : CentroidAsync(Polygon,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 Polygon, _
   ByVal parameters As MensurationPointParameter, _
   Optional ByVal userToken As Object _
) 
C# 
public void CentroidAsync( 
   Polygon 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

See Also

© ESRI, Inc. All Rights Reserved.