laptop and a wrench

漏洞

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

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

附加信息

No Public Explanation

解决办法

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

重现步骤

漏洞 ID: NIM010185

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项