laptop and a wrench

Error

Cannot programmatically alter an ArcIMS Map Resource's background transparency.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM010185
EnviadoJuly 6, 2007
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
Lenguaje del programaC#
EstadoWill Not Be Addressed

Información adicional

No Public Explanation

Solución alternativa

Transparency can be set with the following workaround:1) clone the original map resource item.2) change the background transparency settings on the clone as desired.3) remove the original map resource.4) add the new (cloned) resource.5) refresh.For example: MapResourceItem mriNew = (MapResourceItem)mri.Clone(); mriNew.DisplaySettings.ImageDescriptor.TransparentColor = System.Drawing.Color.White; mriNew.DisplaySettings.ImageDescriptor.TransparentBackground = true; MapResourceManager1.ResourceItems.Remove(mri); MapResourceManager1.ResourceItems.Insert(index - 1, mriNew); MapResourceManager1.CreateResource(mriNew); MapResourceManager1.Refresh(); Map1.Refresh();

Pasos para reproducir

ID del error: NIM010185

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga