Creating a GeoTransformation from Name in ArcObjects and C#

2856
0
10-11-2014 07:57 AM
sidd
by
New Contributor III

Hi

 

I have been trying to create a GeoTransformation from a name. Actually I am using an an ArcPy ListTransformations function. This function returns the list of GeoTransformation names as strings. Now after I get the names of GeoTransformation I need to create IGeoTranformation object in ArcObjects. I can use ISpatialReferenceFactory.CreateGeoTransformation method to create a IGeoTransformation object but it requires esriSRGeoTransformationType, esriSRGeoTransformation2Type, esriSRGeoTransformation3Type constants.

 

Now the question is that how can I create a GeoTransformation given that I have only the transformation Name as a string and not the enum that is required by ISpatialReferenceFactory.CreateGeoTransformation method.

 

Thanks

Tags (2)
0 Kudos
0 Replies