vikrant327

Text Symbol underline and Linethrough

Discussion created by vikrant327 on Aug 16, 2012
Latest reply on Aug 16, 2012 by JGravois-esristaff
Can someone tell me how to put text symbol on the map with Linethrough and underline style. I have been trying with this line of code and it doesn't work.

app.symbols.textSymbol = new esri.symbol.TextSymbol(text).setColor(new dojo.Color([128,0,0])).setDecoration('DECORATION_UNDERLINE').setAlign(esri.symbol.Font.ALIGN_START).setAngle(45).setFont(new esri.symbol.Font("12pt");

var labelPointGraphic = new esri.Graphic(labelPoints[0],app.symbols.textSymbol);     
app.map.graphics.add(labelPointGraphic);

Outcomes