laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM052375
EnvoiDecember 30, 2009
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.3.1
Langue du programmeC#
Version de correction10.1
StatutFixed

Informations supplémentaires

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

Solution de contournement

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); }

Étapes pour reproduire

ID de bogue: NIM052375

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement