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; }
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.