MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgReader::GetGeometry ( INT32  index) [pure virtual]

Gets the Geometry for the specified property.

Remarks:
No conversion is performed. Therefore, the property must be a of type MgPropertyType::Geometry or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual MgByteReader GetGeometry(int index);
Java Syntax
virtual MgByteReader GetGeometry(int index);
PHP Syntax
virtual MgByteReader GetGeometry(int index);
Parameters:
index(int) The position of the property in the list of properties belonging to the feature currently being read.
Returns:
Returns a geometry in AGF binary format in an MgByteReader object.
Exceptions:
MgInvalidPropertyTypeException
Since:
2.2