Converts a geometry into Well-Known Text format. Note that the exported WKT is only 2D and any 3D information is omitted. If you want to preserve 3D information, use ExportToWKB.
JavaScript |
|
ExportToWKT() |
C# |
|
string ExportToWKT() |
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.