laptop and a wrench

漏洞

Unable to grab the swatches from the Table of Contents because the Image URL is coming back as empty.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM043013
已提交March 3, 2009
上次修改时间April 2, 2025
适用范围No Product Found
找到的版本9.3
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

It is still possible to grab the swatches from the table of content using MIME data still. The MIME data has to be converted to an image and that image will have to be saved onto the server machine in a location that the web server can find. Here is the code below: Dim sym1 As TocSymbol = Toc1.Nodes(0).Nodes(1).Nodes(0).Data Dim ms As <a href="http://System.IO" target="_blank">System.IO</a>.MemoryStream = New <a href="http://System.IO" target="_blank">System.IO</a>.MemoryStream(sym1.Image.MimeData.Bytes) Dim returnImage As System.Drawing.Image = System.Drawing.Image.FromStream(ms) returnImage.Save("<a href="file:C:/Inetpub/wwwroot/incidents/704846_TOCImages/images/1.gif" target="_blank">C:\Inetpub\wwwroot\incidents\704846_TOCImages\images\1.gif</a>") Image1.ImageUrl = "<a href="http://localhost/incidents/704846_TOCImages/images/1.gif" target="_blank">http://localhost/incidents/704846_TOCImages/images/1.gif</a>"

重现步骤

漏洞 ID: NIM043013

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项