ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Geometry Namespace / IGeometryEngine Interface / GetPredefinedGeographicTransformationList Method
Example

In This Topic
    GetPredefinedGeographicTransformationList Method (IGeometryEngine)
    In This Topic
    Gets the list of predefined geographic transformations.
    Syntax
    Function GetPredefinedGeographicTransformationList() As IReadOnlyList(Of GeographicTransformationListEntry)
    IReadOnlyList<GeographicTransformationListEntry> GetPredefinedGeographicTransformationList()

    Return Value

    Example
    Retrieve system geographic transformations
    {
      // a geographic transformation is the definition of how to project from one spatial reference to another
      IReadOnlyList<GeographicTransformationListEntry> list = GeometryEngine.Instance.GetPredefinedGeographicTransformationList();
    
      // a GeographicTransformationListEntry consists of Name, Wkid, the From SpatialReference Wkid, the To SpatialReference Wkid
      GeographicTransformationListEntry entry = list[0];
    
      int fromWkid = entry.FromSRWkid;
      int toWkid = entry.ToSRWkid;
      int wkid = entry.Wkid;
      string name = entry.Name;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also