AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgByteReader* MgSpatialContextReader::GetExtent (  ) 

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 .