laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM010186
EnvoiJuly 6, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Solution de contournement

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();

Étapes pour reproduire

ID de bogue: NIM010186

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement