MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Gets the extent of the spatial context currently being read.

.NET Syntax
MgByteReader GetExtent();
Java Syntax
MgByteReader GetExtent();
Returns:
Returns an MgByteReader object containing a geometry in AGF binary format. See MgAgfReaderWriter Class for instructions on how to access the geometry.
Note:
The XML output for the extent is expressed in terms of a lower left coordinate and an upper right coordinate. See FdoSpatialContextList .