laptop and a wrench

Bug

IPictureMarkerSymbol::Picture property fails to set its transparency if IPictureMarkerSymbol::Angle is assigned some value.

Last Published: August 19, 2020 ArcGIS for Desktop
Bug ID Number NIM046160
SubmittedJune 15, 2009
Last ModifiedFebruary 20, 2025
Applies toArcGIS for Desktop
Version found9.3.1
Program languageC#
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Additional Information

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.

Workaround

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);

Steps to Reproduce

Bug ID: NIM046160

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options