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

Gets the raster object of the specified property.

Remarks:
The property must be of type MgPropertyType::Raster, or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual MgRaster GetRaster(int index);
Java Syntax
virtual MgRaster GetRaster(int index);
PHP Syntax
virtual MgRaster GetRaster(int index);
Parameters:
index(int) The position of the property in the list of properties belonging to the feature currently being read.
Returns:
Returns an MgRaster object.
Exceptions:
MgConnectionNotOpenExceptionMgNullPropertyValueException
MgFdoExceptionMgInvalidPropertyTypeException
MgInvalidPropertyTypeException
Since:
2.2