RasterMarkerSymbol does not appear correctly in the TOC unless width and height properties are explicitly set. The TOC appears to trim the symbol to 14x14 pixels from the middle of the image unless the dimensions are set.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM037522
送信されました
August 15, 2008
最終更新日
June 5, 2024
適用対象
No Product Found
見つかったバージョン
9.3
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.
対処法
Set the width and height of the symbol to the correct values (using the dimensions of the underlying image, e.g.). System.Drawing.Bitmap bmp = symRaster.Image.GetImage(); symRaster.Height = bmp.Height; symRaster.Width = b