ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / TransformationInfo Class / TargetWkt Property

In This Topic
    TargetWkt Property
    In This Topic
    Gets and sets the target spatial reference wkt to be used to select the TargetSpatialReference for the TransformationInfo object (used to populate a table row).
    Syntax
    public string TargetWkt {get; set;}
    Public Property TargetWkt As String
    Remarks
    The TargetWkt is optional. The default is null. The TargetVcsWkt should also be defined if a vertical coordinate system needs to be selected.
    If the TargetWkt (and the TargetVcsWkt if applicable) is set, then the corresponding TargetSpatialReference with that wkt (and vcsWkt) will be selected for the TransformationInfo object.
    Note: only one of:
    o TargetSpatialReference
    o TargetWkid, and TargetVcsWkid if applicable
    o TargetWkt, and TargetVcsWkt if applicable
    need be set.
    If the TargetSpatialReference is set, Wkids and Wkts are ignored. If the TargetSpatialReference is null, then Wkids are used. If the Wkids are 0 (or less), then the Wkts are used.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also