AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.