ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMMap Class / DatumTransforms Property
Example

In This Topic
    DatumTransforms Property
    In This Topic
    Gets or sets the set of geographic transformations used by the map for spatial references that do not have vertical coordinate system.
    Syntax
    public CIMDatumTransform[] DatumTransforms {get; set;}
    Public Property DatumTransforms As CIMDatumTransform()
    Example
    Datum
    var cimMapDefinition = MapView.Active.Map.GetDefinition();
    // use if map's sr does not have a vertical coordinate system
    var datumTransformations = cimMapDefinition.DatumTransforms;
    // use if map's sr has a vertical coordinate system
    var hvDatumTransformations = cimMapDefinition.HVDatumTransforms;
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also