Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

MgAgfReaderWriter
Read
Read
Write
Write
virtual MgGeometry* MgAgfReaderWriter::Read | ( | MgByteReader * | agf,
|  | MgTransform * | transform |
| ) |  |  | `[virtual]`
Reads a geometry object from a stream of bytes in AGF format applying the specified transform during the read. .NET Syntax
`virtual MgGeometry Read(MgByteReader agf, MgTransform transform);`
Java Syntax
`virtual MgGeometry Read(MgByteReader agf, MgTransform transform);`
PHP Syntax
`virtual MgGeometry Read(MgByteReader agf, MgTransform transform);`
  Parameters:
  | agf | (MgByteReader) An MgByteReader that supplies the AGF byte stream.
  | transform | (MgTransform) An MgTransform that is used to transform each coordinate read from the AGF representation.
Returns: An instance of MgGeometry that corresponds to the specified AGF with the specified transform applied.

Comments or suggestions? Send us feedback.