ArcGIS Pro 3.7 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 Property DatumTransforms As CIMDatumTransform()
    public CIMDatumTransform[] DatumTransforms {get; set;}
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also