Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Close
GetBLOB
GetBoolean
GetByte
GetCLOB
GetDateTime
GetDouble
GetGeometry
GetInt16
GetInt32
GetInt64
GetPropertyCount
GetPropertyName
GetPropertyType
GetRaster
GetReaderType
GetSingle
GetString
IsNull
ReadNext
virtual MgByteReader* MgReader::GetGeometry | ( | CREFSTRING | propertyName | ) | `[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(string propertyName);`
Java Syntax
`virtual MgByteReader GetGeometry(String propertyName);`
PHP Syntax
`virtual MgByteReader GetGeometry(string propertyName);`
  Parameters:
  | propertyName | (String/string) The property name.
  Returns: Returns a geometry in AGF binary format in an MgByteReader object. Exceptions:
  | MgInvalidPropertyTypeException |

Comments or suggestions? Send us feedback.