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