This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeoTransformation Interface > IGeoTransformation.GetSpatialReferences Method (ArcObjects .NET 10.5 SDK) |
Returns the from and to spatial references for the transformation.
[Visual Basic .NET] Public Sub GetSpatialReferences ( _ ByRef from As ISpatialReference, _ ByRef to As ISpatialReference _ )
[C#] public void GetSpatialReferences ( ref ISpatialReference from, ref ISpatialReference to );
[C++]
HRESULT GetSpatialReferences(
ISpatialReference** from,
ISpatialReference** to
);
[C++]
Parameters from [out]
from is a parameter of type ISpatialReference to [out]
to is a parameter of type ISpatialReference
Each geographic transformation is defined by 'from' and 'to' geographic coordinate systems.