laptop and a wrench

Bogue

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

Dernière publication: August 19, 2020 ArcGIS for Desktop
Numéro d’ID de bogue NIM046160
EnvoiJune 15, 2009
Dernière modificationFebruary 20, 2025
S’applique àArcGIS for Desktop
Version trouvée9.3.1
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitationXP
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: NIM046160

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement