ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / TransformationInfo Class / TargetWkid Property

In This Topic
    TargetWkid Property
    In This Topic
    Gets and sets the target spatial reference wkid to be used to select the TargetSpatialReference for the TransformationInfo object (used to populate a table row).
    Syntax
    public int TargetWkid {get; set;}
    Public Property TargetWkid As Integer
    Remarks
    The TargetWkid is optional. The default is 0. The TargetVcsWkid should also be defined if a vertical coordinate system needs to be selected.
    If the TargetWkid (and the TargetVcsWkid if applicable) is set, then the corresponding TargetSpatialReference with that wkid (and vcsWkid) 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