myDrawObject_DrawComplete(object sender, DrawEventArgs args)
if (args.DrawMode == DrawMode.Freehand) { ESRI.ArcGIS.Client.Geometry.Polyline polyline = (ESRI.ArcGIS.Client.Geometry.Polyline)args.Geometry; ESRI.ArcGIS.Client.Geometry.Polygon polygon = new ESRI.ArcGIS.Client.Geometry.Polygon(); polygon.Rings = polyline.Paths; ESRI.ArcGIS.Client.Geometry.Envelope envelope= polygon.Extent; }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.