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

graphics
The graphics used to calculate label points.
userToken
A user-defined object that is passed to the method invoked.
Generates a set of points suitable for displaying labels for the given set of Graphics. Raises the LabelPointsCompleted event on success, or the TaskBase.Failed event on failure.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub LabelPointsAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal userToken As Object _
) 
C# 
public void LabelPointsAsync( 
   IList<Graphic> graphics,
   object userToken
)

Parameters

graphics
The graphics used to calculate label points.
userToken
A user-defined object that is passed to the method invoked.

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.