Visual Basic (Declaration) | |
---|---|
Public Function Project( _ ByVal graphics As IEnumerable(Of Graphic), _ ByVal outSpatialReference As SpatialReference, _ Optional ByVal datumTransform As DatumTransform, _ Optional ByVal transformForward As Boolean _ ) As IList(Of Graphic) |
C# | |
---|---|
public IList<Graphic> Project( IEnumerable<Graphic> graphics, SpatialReference outSpatialReference, DatumTransform datumTransform, bool transformForward ) |
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+
Return Value
Returns a collection of graphics that contains geometries with points projected to the spatial reference indicated by the "outSpatialReference" parameter.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8