This document is archived and information here might be outdated.  Recommended version.


ISpatialReferenceFactory6.FindTransformation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISpatialReferenceFactory6 Interface > ISpatialReferenceFactory6.FindTransformation Method
ArcGIS Developer Help

ISpatialReferenceFactory6.FindTransformation Method

Returns a suitable geotransformation for a given pair of GCS. The extent is not used presently.

[Visual Basic .NET]
Public Sub FindTransformation ( _
    ByVal FindHVTransform As Boolean, _
    ByVal pFromSR As ISpatialReference, _
    ByVal pToSR As ISpatialReference, _
    ByVal pExtentS As IEnvelope, _
    ByRef pTransform As ITransformation, _
    ByRef Direction As esriTransformDirection _
)
[C#]
public void FindTransformation (
    bool FindHVTransform,
    ISpatialReference pFromSR,
    ISpatialReference pToSR,
    IEnvelope pExtentS,
    ref ITransformation pTransform,
    ref esriTransformDirection Direction
);
[C++]
HRESULT FindTransformation(
  VARIANT_BOOL FindHVTransform,
  ISpatialReference* pFromSR,
  ISpatialReference* pToSR,
  IEnvelope* pExtentS,
  ITransformation** pTransform,
  esriTransformDirection* Direction
);
[C++]
Parameters
FindHVTransform [in]

FindHVTransform is a parameter of type bool pFromSR [in]
pFromSR is a parameter of type ISpatialReference* pToSR [in]
pToSR is a parameter of type ISpatialReference* pExtentS [in]
pExtentS is a parameter of type IEnvelope* pTransform [out]
pTransform is a parameter of type ITransformation** Direction [out]
Direction is a parameter of type esriTransformDirection*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ISpatialReferenceFactory6 Interface