MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgRaster* MgReader::GetRaster ( CREFSTRING  propertyName) [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(string propertyName);
Java Syntax
virtual MgRaster GetRaster(String propertyName);
PHP Syntax
virtual MgRaster GetRaster(string propertyName);
Parameters:
propertyName(String/string) The property name.
Returns:
Returns an MgRaster object.
Exceptions:
MgConnectionNotOpenExceptionMgNullPropertyValueException
MgFdoExceptionMgInvalidPropertyTypeException
MgInvalidPropertyTypeException