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;
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.