Hello.I would like to create Ellipse from Graphic Overlay. I found a topic (https://developers.arcgis.com/net/latest/wpf/guide/add-graphics-and-text-to-graphics-overlays.htm) but you only talk about points and not circles or ellipses.
thanks
I find.
Make polygon :
var ellipseLoc = new MapPoint(x,y); <BR />SimpleLineSymbol simpleLineSymbol = new SimpleLineSymbol(SimpleLineSymbolStyle.Solid, System.Drawing.Color.FromArgb(byteOutcolor[0], byteOutcolor[1], byteOutcolor[2]), ellipse.Size ); <BR />SimpleFillSymbol simpleFillSymbol = new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, System.Drawing.Color.FromArgb(byteColor[0], byteColor[1], byteColor[2]), simpleLineSymbol); Polygon pol = DrawCircle(ellipseLoc, rCircle, 35);<BR />var graphic = new Graphic(pol, simpleFillSymbol); <BR />GraphicOverLayer.Graphics.Add(graphic);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.