laptop and a wrench

Bug

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

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

Additional Information

No Public Explanation

Workaround

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

Steps to Reproduce

Bug ID: NIM010185

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