laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM074715
EingereichtOctober 27, 2011
Zuletzt geändertApril 28, 2025
Gilt fürNo Product Found
Gefunden in Version10.0
ProgrammspracheC#
StatusDuplicate

Zusätzliche Informationen

NIM074919

Workaround

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

Schritte zur Reproduzierung

Bug-ID: NIM074715

Software:

  • No Product Found

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