ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMMap Class / HVDatumTransforms Property
Example

In This Topic
    HVDatumTransforms Property
    In This Topic
    Gets or sets the set of geographic transformations used by the map for spatial references with vertical coordinate system.
    Syntax
    Public Property HVDatumTransforms As CompositeHVDatumTransformation()
    public CompositeHVDatumTransformation[] HVDatumTransforms {get; set;}
    Remarks
    An object with an empty Transformations list indicates the "Do not transform" case, where a pair of coordinate systems is deliberately configured so that no coordinate transformation occurs during projection.
    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