I have a snippet that saves/opens graphics within a project, writing to a CSV.I have a TextSymbol in my map and would like to save these markup graphics that contain text/labels to the CSV as well, but I'm having a hard time retrieving the text of the TextSymbol.GraphicCollection pGC = graphicsLayer.Graphics;
foreach (Graphic g in pGc)
{
if (g.Geometry is ESRI.ArcGIS.Client.Symbols.TextSymbol)
{
MapPoint pPoint = (MapPoint)g.Geometry;
pStreamWriter.WriteLine("TEST, " + pPoint.X.ToString() + ", " + pPoint.Y.ToString());
}
In the WriteLine, I would like to add the text of the TextSymbol.Any ideas?