laptop and a wrench

漏洞

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

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM010186
已提交July 6, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.2
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

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

重现步骤

漏洞 ID: NIM010186

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项