SpatialReferenceSystem.TryCreateTransformationTo

SpatialReferenceSystem.TryCreateTransformationTo method

Creates transformation from this SpatialReferenceSystem to another SpatialReferenceSystem.

public bool TryCreateTransformationTo(SpatialReferenceSystem targetSrs, 
    out SpatialReferenceSystemTransformation value)
ParameterTypeDescription
targetSrsSpatialReferenceSystemAnother SpatialReferenceSystem.
valueSpatialReferenceSystemTransformation&When this methods returns true, contains a transformation; otherwise, contains null.

Return Value

Transformation from this SpatialReferenceSystem to another SpatialReferenceSystem.

true if transformation was created successfully; false otherwise.

See Also