public List<TextSymbol> TextSymbolList(){ List<TextSymbol> l = new List<TextSymbol>(); foreach (Graphic g in this.Graphics) { l.Add((TextSymbol)g); //THIS DOES NOT WORK } return l; }
public List<TextSymbol> TextSymbolList(){ List<TextSymbol> l = new List<TextSymbol>(); foreach (Graphic g in this.Graphics) { g.symbol = l; // If you have a graphic layer graphicLayer.add(g); //This is wrong!!! //l.Add((TextSymbol)g); //THIS DOES NOT WORK } return l; }
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.