Web API Reference MapGuide Open Source
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:
MgConnectionNotOpenException MgNullPropertyValueException
MgFdoException MgInvalidPropertyTypeException
MgInvalidPropertyTypeException. 


Comments or suggestions? Send us feedback.