ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / CoordinateSystemsControlProperties Class / Wkt Property

In This Topic
    Wkt Property (CoordinateSystemsControlProperties)
    In This Topic
    Gets and sets the spatial reference wkt to be used to select the SpatialReference in the CoordinateSystemsControl.
    Syntax
    public string Wkt {get; set;}
    Public Property Wkt As String
    Remarks
    SpatialReference wkt is optional. The default is "" (or empty string). If the SpatialReference wkt is set then the corresponding SpatialReference with that wkt will be selected in the CoordinateSystemsControl.

    Note: only one of: o SpatialReference
    o Wkid
    o Wkt

    need be set.

    If the SpatialReference is set, Wkid and Wkt are ignored. If the SpatialReference is null, then Wkid is used. If the Wkid is 0 (or less), then the Wkt is used.

    If no SpatialReference is set then the first SpatialReference of the first layer in the provided map is selected. If no map is provided then no SpatialReference is selected.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also