GeometryEngineProject Method (Geometry, SpatialReference) |
Projects the given geometry into a new spatial reference.
Namespace: Esri.ArcGISRuntime.GeometryAssembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 10.2.7.0 (10.2.7.1234)
Syntaxpublic static Geometry Project(
Geometry geometry,
SpatialReference outputSpatialReference
)
Public Shared Function Project (
geometry As Geometry,
outputSpatialReference As SpatialReference
) As Geometry
Parameters
- geometry
- Type: Esri.ArcGISRuntime.GeometryGeometry
The geometry to be projected. - outputSpatialReference
- Type: Esri.ArcGISRuntime.GeometrySpatialReference
The spatial reference to which geometry need to be projected.
Return Value
Type:
GeometryThe projected geometry.
See Also
Supported Platforms
This type is supported on the following ArcGIS Runtime .NET SDK platforms: |
Windows Desktop |
Windows Phone |
Windows Store |
Additional Examples
Hyperlink to Example | Description |
GetArea | Allows the user to draw a polygon on the map and calculate the area via several methods. |