[Visual Basic 6.0]Dim pDocument As IMxDocument
Set pDocument = ThisDocument
Dim pMap As IMap
Set pMap = pDocument.FocusMapDim pMapGeoTrans As IMapGeographicTransformations
Set pMapGeoTrans = pMap
Dim pGTSet As IGeoTransformationOperationSet
Set pGTSet = pMapGeoTrans.GeographicTransformations
Debug.Print pGTSet.Count' By default, two transformations are loaded when ArcMap is started.
[Visual Basic .NET, C#, C++]
No example is available for Visual Basic .NET, C#, or C++. To view a Visual Basic 6.0 example, click the Language Filter button
in the upper-left corner of the page.