Extent.GetTransformed

Extent.GetTransformed method

Returns new extent in specified SpatialReferenceSystem that contains this extent.

public Extent GetTransformed(SpatialReferenceSystem targetSrs)
ParameterTypeDescription
targetSrsSpatialReferenceSystemSpatialReferenceSystem to transform to.

Return Value

The result of transformation this extent to the specified SRS.

Exceptions

exceptioncondition
ArgumentNullExceptionArgument is null.
NotSupportedExceptionTransformation to the provided SRS is not supported.
TransformationExceptionTransformation failed.
InvalidOperationExceptionSpatialReferenceSystem of this extent is null.

See Also