SpatialReferenceSystemTransformation.Transform

SpatialReferenceSystemTransformation.Transform method

Transforms geometry from source spatial reference system to target spatial reference system.

public Geometry Transform(IGeometry geometry)
ParameterTypeDescription
geometryIGeometryGeometry to transform.

Return Value

New geometry in target spatial reference system.

Exceptions

exceptioncondition
ArgumentNullExceptionGeometry is null.
ArgumentExceptionGeometries SpatialReferenceSystem is not null and doesn’t equivalent to Source
TransformationExceptionTransformation failed.

See Also