ArcGIS Pro 2.7 API Reference Guide
Wkt Property (CoordinateSystemsControlProperties)

ArcGIS.Desktop.Mapping.Controls Namespace > CoordinateSystemsControlProperties Class : Wkt Property
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 10, Windows 8.1

See Also

Reference

CoordinateSystemsControlProperties Class
CoordinateSystemsControlProperties Members