laptop and a wrench

漏洞

Application crashes when the IPointCollection passed into IDynamicDisplay.DrawPolyline method is created from an IPolygon.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM052375
已提交December 30, 2009
上次修改时间April 2, 2025
适用范围No Product Found
找到的版本9.3.1
编程语言C#
修正版本10.1
状态Fixed

附加信息

This issue is no longer reproducible at SP 2. Make sure to call SetEmpty on the pointcollection after drawing.

解决办法

Use Multipoint and geometric collection, geomColl = new MultipointClass(); object missing = Type.Missing; IPointCollection4 pointColl = m_poly as IPointCollection4; for (int i = 0; i < pointColl.PointCount - 1; i++) { geomColl.AddGeometry(pointColl.get_Point(i), ref missing, ref missing); }

重现步骤

漏洞 ID: NIM052375

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项