AnsweredAssumed Answered

PrintTask line not visible ( layer)

Question asked by detroit on Aug 20, 2012
Latest reply on Aug 20, 2012 by DSwingley-esristaff
I'm using printtask to make a print of the map.
I add some graphics to layer. In case of point or polygon the print task will actually print the result but if its a polyline the result will be only seen on map itself (as per result of but not on the printed image/pdf.
I dont think the symbol is wrong since i use same marker for line and polygon...

pointStyle : new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 20, null, new dojo.Color([255,255,0,0.5]));
linepolyStyle : new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol("dashdot", new dojo.Color([255,0,0]), 5), new dojo.Color([255,255,0,0.25]));

pseudo code
if point{
add graphic to
else //so if polyline or polygon
add graphic to

Hopefully someone already met and solved this issue:)