CoordinateTransformationsTryGetTransformation Method |
Tries to get a managed transformation for the given CRS identifiers.
Namespace:
Ptv.Components.Projections.Direct
Assembly:
Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax public static bool TryGetTransformation(
string sourceId,
string targetId,
out TransformDelegate transform
)
Public Shared Function TryGetTransformation (
sourceId As String,
targetId As String,
<OutAttribute> ByRef transform As TransformDelegate
) As Boolean
public:
static bool TryGetTransformation(
String^ sourceId,
String^ targetId,
[OutAttribute] TransformDelegate^% transform
)
static member TryGetTransformation :
sourceId : string *
targetId : string *
transform : TransformDelegate byref -> bool
Parameters
- sourceId
- Type: SystemString
Identifier of the source coordinate reference system. - targetId
- Type: SystemString
Identifier of the target coordinate reference system. - transform
- Type: Ptv.Components.Projections.DirectTransformDelegate
The transformmation deleagte, returned on success.
Return Value
Type:
BooleanTrue, if a valid managed transformation could be found. False otherwise.
See Also