WriteWellKnownTextToFile
Writes the Well-Known Text representation of the selected coordinate system to a specified file.
JavaScript |
|
WriteWellKnownTextToFile () |
C# |
|
string WriteWellKnownTextToFile ( string FileName) |
C++ |
|
HRESULT WriteWellKnownTextToFile ( BSTR FileName, BSTR* pVal) |
Parameters
FileName
Name of file to which to write the Well Known Text (WKT).
Return Value
pVal
Full path to file, including file's name, which now contains the coordinate system information in Well Known Text (WKT) format, e.g., %AppData%\CS_WKT\WKT.txt. For security considerations, the file is saved to a predefined “CS_WKT” folder in the “Application Data” space of the current user. You can use %APPDATA% in Windows Explorer to locate the path on your computer.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.