laptop and a wrench

Error

Programmatically changing an ArcGIS Server map resource's background from transparent to opaque makes the background color white.

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

Información adicional

No Public Explanation

Solución alternativa

Cloning the map resource and changing transparency settings on the clone (then replacing the original) will yeild the expected results. For example: MapResourceItem mriNew = (MapResourceItem)mri.Clone(); mriNew.DisplaySettings.ImageDescriptor.TransparentBackground = false; mriNew.DisplaySettings.ImageDescriptor.TransparentColor = System.Drawing.Color.Empty; MapResourceManager1.ResourceItems.Remove(mri); MapResourceManager1.ResourceItems.Insert(index + 1, mriNew); MapResourceManager1.CreateResource(mriNew); MapResourceManager1.Refresh(); Map1.Refresh();

Pasos para reproducir

ID del error: NIM010186

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