laptop and a wrench

Erro

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

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM074919
EnviadoNovember 3, 2011
Última ModificaçãoJune 5, 2024
Aplica-se àNo Product Found
Versão encontrada10.1
Versão Fixa10.1
StatusFixed

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: NIM074919

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download