ArcGIS API for WPF - Library Reference
AreasAndLengthsAsync(IList<Graphic>) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > AreasAndLengthsAsync Method : AreasAndLengthsAsync(IList<Graphic>) Method

graphics
The graphics used to calculate areas and lengths.
Calculates the areas and lengths of each specified polygon. Raises the GeometryService.AreasAndLengthsCompleted event on success, or the TaskBase.Failed event on failure.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AreasAndLengthsAsync( _
   ByVal graphics As IList(Of Graphic) _
) 
C# 
public void AreasAndLengthsAsync( 
   IList<Graphic> graphics
)

Parameters

graphics
The graphics used to calculate areas and lengths.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.