ArcObjects Library Reference (Carto)  

IMapServerGeoTransformation.GeoTransformation Property

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 [out, retval]

  transformations is a parameter of type IGeoTransformation

transformations [in]

  transformations is a parameter of type IGeoTransformation

Product Availability

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

Remarks

GeoTransformation provides access to members that define a geographic (datum) transformation.

[Visual Basic .NET]

Dim pSRFactory As ISpatialReferenceFactory2
pSRFactory = New SpatialReferenceEnvironment
'for DCOM connection-> m_pServerContext.CreateObject("esriGeometry.SpatialReferenceEnvironment")
Dim pGeoTrans As IGeoTransformation
pGeoTrans = pSRFactory.CreateGeoTransformation(esriSRGeoTransformation3Type.esriSRGeoTransformation_NAD_1927_To_WGS_1984_30)
pQueryResultOptions.GeoTransformation = pGeoTrans

See Also

IMapServerGeoTransformation Interface