Extent.GetTransformed
Extent.GetTransformed method
Returns new extent in specified SpatialReferenceSystem
that contains this extent.
public Extent GetTransformed(SpatialReferenceSystem targetSrs)
Parameter | Type | Description |
---|---|---|
targetSrs | SpatialReferenceSystem | SpatialReferenceSystem to transform to. |
Return Value
The result of transformation this extent to the specified SRS.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Argument is null . |
NotSupportedException | Transformation to the provided SRS is not supported. |
TransformationException | Transformation failed. |
InvalidOperationException | SpatialReferenceSystem of this extent is null . |
See Also
- class SpatialReferenceSystem
- class Extent
- namespace Aspose.Gis
- assembly Aspose.GIS