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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.