PointCollection vertices = new PointCollection(); for (int i = 0; i < polygon.Rings.Count; i++) foreach (var mp in polygon.Rings) vertices.Add(mp);
Polyline line = new Polyline(); foreach(var ring in myPolygon.Rings) line.Paths.Add(ring);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.