This document is archived and information here might be outdated. Recommended version. |
On-the-fly geographic transformations.
[Visual Basic .NET] Public Property GeoTransformation As IGeoTransformation
[C#] public IGeoTransformation GeoTransformation {get; set;}
[C++]
HRESULT get_GeoTransformation(
IGeoTransformation* transformations
);
[C++]
HRESULT putref_GeoTransformation(
IGeoTransformation** transformations
);
[C++] Parameters transformations [in]
transformations is a parameter of type IGeoTransformation* transformations [out, retval]
transformations is a parameter of type IGeoTransformation**
GeoTransformation provides access to members that define a geographic (datum) transformation.
Dim pSRFactory As ISpatialReferenceFactory2
pSRFactory = New SpatialReferenceEnvironment
Dim pGeoTrans As IGeoTransformation
pGeoTrans = pSRFactory.CreateGeoTransformation(esriSRGeoTransformation3Type.esriSRGeoTransformation_NAD_1927_To_WGS_1984_30)
pQueryResultOptions.GeoTransformation = pGeoTrans