ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeographicTransformationListEntry Class / Wkid Property
Example

In This Topic
    Wkid Property (GeographicTransformationListEntry)
    In This Topic
    Gets the well-known ID of the geographic transformation.
    Syntax
    public int Wkid {get;}
    Public ReadOnly Property Wkid As Integer
    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, Windows 10, Windows 8.1

    See Also