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; }
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.