A string containing the name of the GeographicTransformation.

Namespace:  ESRI.ArcGISExplorer.Geometry

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public string Name { get; }
Visual Basic (Declaration)
Public ReadOnly Property Name As String

Field Value

A string containing the name of the transformation, usually indicating abbreviated names of the pair of coordinate systems to which the transformation applies.

Remarks

The Name of a GeographicTransformation will generally indicate, in an abbreviated form, the names of the pair of coordinate systems to which the transformation applies; the full names as reported from the Name property will not always be used. To identify fully the coordinate systems to which this transformation applies, refer to the CoordinateSystem1 and CoordinateSystem2 properties.

Examples

The code below shows how you can create a GeographicTransformation directly if you know the unique identifier. After reporting a few properties, the transformation is then added to the collection held by the Map object, so that it can be used in on-the-fly projections.
CopyC#
// Create a GeographicTransformation with a known identifier - the code below will
// create the transformation 1139, suitable for locations in Finland and Norway.
GeographicTransformation ed1950ToWGS84 = new GeographicTransformation(1139);

System.Diagnostics.Debug.WriteLine("The GeographicTransformation:");
System.Diagnostics.Debug.WriteLine(ed1950ToWGS84.Name);
System.Diagnostics.Debug.WriteLine("Converts between the coordinate systems:");
System.Diagnostics.Debug.WriteLine(ed1950ToWGS84.CoordinateSystem1.Name);
System.Diagnostics.Debug.WriteLine("and");
System.Diagnostics.Debug.WriteLine(ed1950ToWGS84.CoordinateSystem2.Name);

// Add the transformation to the Map for use in on-the-fly transformations.
// The variable 'currentMap' should point to the current MapDisplay object. 
// We add this transformation to the 2D transformations collection.
currentDisplay.GeographicTransformations2D.Add(ed1950ToWGS84);
CopyVB.NET
' Create a GeographicTransformation with a known identifier - the code below will
' create the transformation 1139, suitable for locations in Finland and Norway.
Dim ed1950ToWGS84 As New GeographicTransformation(1139)

System.Diagnostics.Debug.WriteLine("The GeographicTransformation:")
System.Diagnostics.Debug.WriteLine(ed1950ToWGS84.Name)
System.Diagnostics.Debug.WriteLine("Converts between the coordinate systems:")
System.Diagnostics.Debug.WriteLine(ed1950ToWGS84.CoordinateSystem1.Name)
System.Diagnostics.Debug.WriteLine("and")
System.Diagnostics.Debug.WriteLine(ed1950ToWGS84.CoordinateSystem2.Name)

' Add the transformation to the Map for use in on-the-fly transformations.
' The variable 'currentMap' should point to the current MapDisplay object. 
' We add this transformation to the 2D transformations collection.
currentDisplay.GeographicTransformations2D.Add(ed1950ToWGS84)

See Also