laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 19, 2020 ArcGIS for Desktop
Bug-ID-Nummer NIM046160
EingereichtJune 15, 2009
Zuletzt geändertFebruary 20, 2025
Gilt fürArcGIS for Desktop
Gefunden in Version9.3.1
ProgrammspracheC#
BetriebssystemWindows OS
BetriebssystemversionXP
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: NIM046160

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln