I am using IMapServerDataAccess to get an IRaster using the following:
IRaster raster = (IRaster)dataAccess.GetDataSource(mapServer.DefaultMapName, mapLayer);
How do I then add that IRaster as an ILayer to ArcMap?
I have tried casting IRaster to IRasterLayer with no luck. Do I need to cast the IRaster to another object first?
Thanks for any assistance. I am working in C#, but will gladly take other samples if available.
Mele