Unable to grab the swatches from the Table of Contents because the Image URL is coming back as empty.
最後に公開された状態: August 25, 2014No 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>"