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; }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.