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.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM037522
Submitted
August 15, 2008
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.3
Status
Known Limit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
Additional Information
10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.
Workaround
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