ArcGIS Pro 3.4 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 CompositeHVDatumTransformation[] HVDatumTransforms {get; set;}
    Public Property HVDatumTransforms As CompositeHVDatumTransformation()
    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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also