Defines a spatial reference object based upon its well known text string (WKT) and optionally a WKT for a vertical datum. The resolution and xy tolerances are either computed from the sr horizon or set to defaults. The output sr is always high precision.
[Visual Basic 6.0] Function FindSRByWKT(
ByVal WKT As String, _
ByVal WKT_Z As String, _
ByVal bDefaultXYResolution As Boolean, _
ByVal bDefaultXYTolerance As Boolean _
) As ISpatialReference
[Visual Basic .NET] Public Function FindSRByWKT ( _ ByVal WKT As String, _ ByVal WKT_Z As String, _ ByVal bDefaultXYResolution As Boolean, _ ByVal bDefaultXYTolerance As Boolean _ ) As ISpatialReference
[C#] public ISpatialReference FindSRByWKT ( string WKT, string WKT_Z, bool bDefaultXYResolution, bool bDefaultXYTolerance );
[Java] public ISpatialReference findSRByWKT ( String WKT, String WKT_Z, Boolean bDefaultXYResolution, Boolean bDefaultXYTolerance ) throws IOException, AutomationException
[C++] HRESULT FindSRByWKT( BSTR WKT, BSTR WKT_Z, VARIANT_BOOL bDefaultXYResolution, VARIANT_BOOL bDefaultXYTolerance, ISpatialReference** ppSR );
Parameters
WKT
WKT is a parameter of type BSTR
WKT_Z
WKT_Z is a parameter of type BSTR
bDefaultXYResolution
bDefaultXYResolution is a parameter of type VARIANT_BOOL
bDefaultXYTolerance
bDefaultXYTolerance is a parameter of type VARIANT_BOOL
ppSR [out, retval]
ppSR is a parameter of type ISpatialReference
Finds a predefined spatial reference based on its well known text string (WKT). If WKT_Z is specified and not empty, then a vertical coordinate system will be created and associated with the horizontal coordinate system. The definition string can be generated from ArcObjects using the ExportToESRISpatialReference method on a PCS or GCS. The boolean parameters are as described for FindSRByWKID.