laptop and a wrench

Bogue

Custom graphic element code crashes ArcMap at ArcGIS 10 SP3 on call to IActiveView.PartialRefresh - same code works successfully at ArcGIS 10 SP2.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM074715
EnvoiOctober 27, 2011
Dernière modificationApril 28, 2025
S’applique àNo Product Found
Version trouvée10.0
Langue du programmeC#
StatutDuplicate

Informations supplémentaires

NIM074919

Solution de contournement

In order to work with SP3, add the IGraphicsComposite and IEnumElement interfaces to you custom element class: Example implementation: #region IGraphicsComposite Members public IEnumElement get_Graphics(IDisplay Display, object Data) { return this; } #endregion #region IEnumElement Members private int enumIndex = 0; public IElement Next() { if (enumIndex == 0) { enumIndex++; IElement element = new PolygonElementClass(); element.Geometry = m_customElement; return element; } throw new COMException("Iterator End", 1); return null; } public void Reset() { enumIndex = 0; } #endregion

Étapes pour reproduire

ID de bogue: NIM074715

Logiciel:

  • No Product Found

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