Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

MgAgfReaderWriter
Read
Read
Write
Write
virtual MgByteReader* MgAgfReaderWriter::Write | ( | MgGeometry * | geometry,
|  | MgTransform * | transform |
| ) |  |  | `[virtual]`
Writes a geometry object to a stream of bytes in AGF format applying the specified transform during the write. .NET Syntax
`virtual MgByteReader Write(MgGeometry geometry, MgTransform transform);`
Java Syntax
`virtual MgByteReader Write(MgGeometry geometry, MgTransform transform);`
PHP Syntax
`virtual MgByteReader Write(MgGeometry geometry, MgTransform transform);`
  Parameters:
  | geometry | (MgGeometry) An MgGeometry object to write to AGF.
  | transform | (MgTransform) An MgTransform that is used to transform each coordinate written to the AGF representation.
Returns: An MgByteReader that contains the transformed AGF representation.

Comments or suggestions? Send us feedback.