Public Shared Function FindTransformations( _ ByVal inputSR As SpatialReference, _ ByVal outputSR As SpatialReference, _ Optional ByVal extentOfInterest As Envelope, _ Optional ByVal numResults As Integer, _ Optional ByVal vertical As Boolean _ ) As List(Of ProjectionTransformation)
public static List<ProjectionTransformation> FindTransformations( SpatialReference inputSR, SpatialReference outputSR, Envelope extentOfInterest, int numResults, bool vertical )
Parameters
- inputSR
- The input spatial reference.
- outputSR
- The output spatial reference.
- extentOfInterest
- (Optional) The bounding box of the area of interest. If provided, the extent of interest is used to return the most applicable transformations for the area. The spatial reference for the extent of interest is assumed to be the inputSR. The default value is null.
- numResults
- (Optional) The number of transformations to return. If numResults has a value of -1, then all applicable transformations are returned. The default value is 1.
- vertical
- (Optional) Specifies whether to check for vertical transformations or not. If vertical is set to true, both inputSR and outputSR must have a vertical coordinate system. The transformation in each ProjectionTransformation in the list is a CompositeHVDatumTransformation in this case. If vertical is set to false, the transformation in each ProjectionTransformation in the list is a CompositeGeographicTransformation. The default value is false.
Return Value
A list of ProjectionTransformation.