Geometry.ToWellKnownText Method
Converts a Geometry instance into WKT representation.
ToWellKnownText(GeometrySaveMode mode)
Converts a Geometry instance into WKT representation.Syntax
public System.String ToWellKnownText (
GeometrySaveMode mode
)
Parameters
Specifies which coordinates to save.
Return Value
A WKT representation of the geometry.
Remarks
Trying to convert raster or mesh geometries into WKT representation will cause an exception to be thrown.
Platforms
Windows, Linux, Android