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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.