Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

MgWktReaderWriter
Read
Read
Write
Write
virtual MgGeometry* MgWktReaderWriter::Read | ( | CREFSTRING | wkt | ) | `[virtual]`
Reads a geometry object from an AGF Text format. .NET Syntax
`virtual MgGeometry Read(string wkt);`
Java Syntax
`virtual MgGeometry Read(String wkt);`
PHP Syntax
`virtual MgGeometry Read(string wkt);`
  Parameters:
  | wkt | (String/string) A string that supplies the AGF Text representation.
Returns: An instance of MgGeometry that corresponds to the specified AGF Text.

Comments or suggestions? Send us feedback.