AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgByteReader* MgAgfReaderWriter::Write ( MgGeometry geometry  )  [virtual]

Translates an MgGeometry object into a stream of bytes in AGF (Autodesk Geometry Format).

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

Parameters:
geometry (MgGeometry) An MgGeometry object to write to AGF.
Returns:
An MgByteReader which contains the AGF representation of the MgGeometry object.