Provides a shortcut for transforming the current location from one 
            coordinate reference system to another.
            
 
    Namespace: 
   Ptv.Components.Projections
    Assembly:
   Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntaxpublic Location Transform(
	string sourceId,
	string targetId
)
Public Function Transform ( 
	sourceId As String,
	targetId As String
) As Location
public:
Location Transform(
	String^ sourceId, 
	String^ targetId
)
member Transform : 
        sourceId : string * 
        targetId : string -> Location 
Parameters
- sourceId
 - Type: SystemString
Identifies the source CRS, e.g. EPSG:4326 - targetId
 - Type: SystemString
Identifies the target CRS, e.g. EPSG:3857 
Return Value
Type: 
LocationReturns the transformed location.
RemarksThe returned location may be set to its defaults if the transformation 
            fails.
ExamplesThe following is an example of transforming a location from 
WGS84 
            to 
Google Mercator:
            
Location Karlsruhe = new Location(8.4038, 49.0081);
Location mapCenter = Karlsruhe.Transform("EPSG:4326", "EPSG:3857");
...
See Also