AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual STRING MgWktReaderWriter::Write ( MgGeometry geometry  )  [virtual]

Writes a geometry object to a string in AGF Text format.

.NET Syntax
virtual string Write(MgGeometry geometry);
Java Syntax
virtual String Write(MgGeometry geometry);
PHP Syntax
virtual string Write(MgGeometry geometry);

Parameters:
geometry (MgGeometry) An MgGeometry object to write to AGF Text.
Returns:
A string that contains the AGF Text representation.