ArcGIS Pro 2.7 API Reference Guide
Create(String,Boolean) Method
Example 

ArcGIS.Core.Geometry Namespace > GeographicTransformation Class > Create Method : Create(String,Boolean) Method
The well-known text of the geographic transformation to be created.
(Optional) Default is true. If false, the created transformation is inverted.
Creates a GT instance from a given well-known text string.
Syntax
Public Overloads Shared Function Create( _
   ByVal wkt As String, _
   Optional ByVal transformForward As Boolean _
) As GeographicTransformation

Parameters

wkt
The well-known text of the geographic transformation to be created.
transformForward
(Optional) Default is true. If false, the created transformation is inverted.
Example
// create from wkid
GeographicTransformation gt1478 = ArcGIS.Core.Geometry.GeographicTransformation.Create(1478);
string name = gt1478.Name;
string wkt = gt1478.Wkt;
int wkid = gt1478.Wkid;

// create from wkt
GeographicTransformation another_gt1478 = ArcGIS.Core.Geometry.GeographicTransformation.Create(wkt);

// inverse
GeographicTransformation inverse_gt148 = another_gt1478.GetInverse() as GeographicTransformation;
bool isForward = inverse_gt148.IsForward;
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeographicTransformation Class
GeographicTransformation Members
Overload List