MapPoint pt = new MapPoint(X, Y); ESRI.ArcGIS.Client.Graphic graphic = new ESRI.ArcGIS.Client.Graphic(); TextSymbol sym = new TextSymbol(); sym.Text = "Text goes here"; sym.FontSize = 9; sym.Foreground = new SolidColorBrush { Color = Colors.Black }; sym.OffsetX = 2; // experiment with offsets to help horizontally sym.OffsetY = 2; // and vertically graphic.Geometry = pt; graphic.Symbol = sym;
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.