laptop and a wrench

Bogue

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

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

Informations supplémentaires

No Public Explanation

Solution de contournement

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

Étapes pour reproduire

ID de bogue: NIM010185

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