laptop and a wrench

Error

In ArcMap Version 10 SP3, custom map elements that do not implement IGraphicsComposite and IEnumElement interfaces crash when their properties are accessed.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM074919
EnviadoNovember 3, 2011
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada10.1
Versión corregida10.1
EstadoFixed

Solución alternativa

In order to work with SP3, add the IGraphicsComposite and IEnumElement interfaces to the 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

Pasos para reproducir

ID del error: NIM074919

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga