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

graphics
The graphics containing the geometry to project.
outSpatialReference
The SpatialReference to project to.
userToken
A user-defined object that is passed to the method invoked.
Projects a set of geometries into a new spatial reference. Raises the ProjectCompleted event on success, or the TaskBase.Failed event on failure.

Syntax

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

Parameters

graphics
The graphics containing the geometry to project.
outSpatialReference
The SpatialReference to project to.
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

See Also

© ESRI, Inc. All Rights Reserved.