ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / HVDatumTransformation Class / IsForward Property
Example

In This Topic
    IsForward Property (HVDatumTransformation)
    In This Topic
    Gets a value indicating if this horizontal/vertical transformation is forward or inversed.
    Syntax
    public bool IsForward {get;}
    Public ReadOnly Property IsForward As Boolean
    Example
    Create HV Datum Transformation
    // Create from wkid
    HVDatumTransformation hv110018 = HVDatumTransformation.Create(110018);
    int wkid = hv110018.Wkid;
    bool isForward = hv110018.IsForward;    // isForward = true
    string name = hv110018.Name;            // Name = WGS_1984_To_WGS_1984_EGM2008_1x1_Height
    
    // Create from wkt
    string wkt = hv110018.Wkt;
    HVDatumTransformation hv110018FromWkt = HVDatumTransformation.Create(wkt);
    
    // Get the inverse
    HVDatumTransformation hv110018Inverse = 
       hv110018.GetInverse() as HVDatumTransformation;
    // hv110018Inverse.IsForward = false
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also