ArcGIS Runtime SDK for WPF - Library Reference
ProjectTaskAsync(IEnumerable<Graphic>,SpatialReference,DatumTransform,Boolean) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > ProjectTaskAsync Method : ProjectTaskAsync(IEnumerable<Graphic>,SpatialReference,DatumTransform,Boolean) Method

graphics
The graphics containing the geometry to project.
outSpatialReference
The SpatialReference to project to.
datumTransform
The datum transformation object. Support for DatumTransfom works with ArcGIS Server 10.1+
transformForward
If ESRI.ArcGIS.Client.Geometry.DatumTransform is provided transformFoward value will indicate to project datum forward if true or backwards if false. Support for DatumTransfom works with ArcGIS Server 10.1+
Projects a set of Graphics into a new SpatialReference including a DatumTransform.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ProjectTaskAsync( _
   ByVal graphics As IEnumerable(Of Graphic), _
   ByVal outSpatialReference As SpatialReference, _
   ByVal datumTransform As DatumTransform, _
   Optional ByVal transformForward As Boolean _
) As Task(Of ProjectionResult)

Parameters

graphics
The graphics containing the geometry to project.
outSpatialReference
The SpatialReference to project to.
datumTransform
The datum transformation object. Support for DatumTransfom works with ArcGIS Server 10.1+
transformForward
If ESRI.ArcGIS.Client.Geometry.DatumTransform is provided transformFoward value will indicate to project datum forward if true or backwards if false. Support for DatumTransfom works with ArcGIS Server 10.1+

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.