ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryEngine Class / GetPredefinedGeographicTransformationList Method

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

    Return Value

    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;

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also