IPictureMarkerSymbol::Picture property fails to set its transparency if IPictureMarkerSymbol::Angle is assigned some value.
上次发布: August 19, 2020ArcGIS for Desktop
漏洞 ID 编号
NIM046160
已提交
June 15, 2009
上次修改时间
February 20, 2025
适用范围
ArcGIS for Desktop
找到的版本
9.3.1
编程语言
C#
操作系统
Windows OS
操作系统版本
XP
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
In the code, please replace the following line of codes with last line of code, it set the transparency. But it works only for bitmap (BMP) files not for other format like tiff, png etc…//Comment the next two line of code System.Drawing.Bitmap dotNetBmp = new System.Drawing.Bitmap(databaseFile); pictBMPMrkSym.Picture = ESRI.ArcGIS.ADF.COMSupport.OLE.GetIPictureDispFromBitmap(dotNetBmp) as stdole.IPictureDisp; //Uncomment the following line of code.... //pictBMPMrkSym.CreateMarkerSymbolFromFile(esriIPictureType.esriIPictureBitmap, databaseFile);