ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / TransformationInfo Class / TargetSpatialReference Property

In This Topic
    TargetSpatialReference Property
    In This Topic
    Gets and sets the target spatial reference to be used for the TransformationInfo object (used to populate a table row).
    Syntax
    public SpatialReference TargetSpatialReference {get; set;}
    Public Property TargetSpatialReference As SpatialReference
    Remarks
    TargetSpatialReference is optional. The default is null.
    Note: only one of:
    o TargetSpatialReference
    o TargetWkid, and TargetVcsWkid if applicable
    o TargetWkt, and TargetVcsWkt if applicable
    needs be set.
    If the TargetSpatialReference is set, the Wkids and Wkts are ignored. If the TargetSpatialReference is null, then the 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