laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM010186
SubmittedJuly 6, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

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

Steps to Reproduce

Bug ID: NIM010186

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options