Converts a geometry into Well Known Text format. Note that the exported WKT is only 2D and any 3D information is omitted.
| JavaScript | 
 | 
| 
 | |
| C# | 
 | 
| 
 | |
| C++ | 
 | 
| HRESULT ExportToWKT( BSTR* wkt) | |
Return Value
wkt
The Well-known text representation for the geometry.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.