MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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.