laptop and a wrench

漏洞

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

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM074715
已提交October 27, 2011
上次修改时间April 28, 2025
适用范围No Product Found
找到的版本10.0
编程语言C#
状态Duplicate

附加信息

NIM074919

解决办法

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

重现步骤

漏洞 ID: NIM074715

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项