YongAn is correct you should use DgnRaster, DgnRasterCollection, and DgnRasterVector classes.
mdlRaster_eventGroupStart and mdlRaster_eventGroupEnd are marked as deprecated (as should be: mdlRaster_eventSynchronize) in: ..\include\Mstn\MdlApi\deprecated10_0.fdf
For raster event notification see IRasterEventHandler in: ..\include\RasterCore\IRasterEvents.h
Where the new raster classes lack any older functionality and would require you to migrate your mdlRaster() functions forward, consider looking for updated function signature information in:
..\doc\MicroStationAPI.chm. This help file is built directly from the comments and descriptions available in the actual header include files.
Then see for example, Help Topic: "Raster Functions", and pick a function having a description; e.g. mdlRaster_systemAllRasterContainerByModelGet; for a sample function description and code snip like:
Retrieves a list of all currently known raster handle that belong to a specific model and/or its child models according to the handle state flags specified.
You might want to use the DgnRasterCollection instead if you don't need a copy of the list:
ModelRefIterator modelItr(pRootModel, iteratorType, depth);
for (DgnModelRefP modelRefP = modelItr.GetFirst (); modelRefP; modelRefP = modelItr.GetNext ())
{
for each(DgnRasterP rasterP in DgnRasterCollection::GetRasters(modelRefP))
{
if(NULL != rasterP)
//Do something;
}
}
HTH,
Bob