laptop and a wrench

漏洞

Custom Map Surround Frames crash ArcMap in Version 10.0 SP 3 in the IElement.Draw() method. With 10.0 SP 2, the code works fine to add a north arrow map surround.

上次发布: August 25, 2014 ArcGIS for Desktop
漏洞 ID 编号 NIM075178
已提交November 9, 2011
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.0
编程语言VC++
操作系统Windows OS
操作系统版本7 64 Bit
状态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: NIM075178

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项