<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Printing TextSymbol in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-textsymbol/m-p/746553#M69083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Suppose I have a TextSymbol that I want to print as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;app.areaLabelsLayer = new esri.layers.GraphicsLayer();
app.map.addLayer(app.areaLabelsLayer);

...

var font = new esri.symbol.Font(10, esri.symbol.Font.STYLE_NORMAL, esri.symbol.Font.VARIANT_NORMAL, esri.symbol.Font.WEIGHT_BOLDER);
var textSymbol = new esri.symbol.TextSymbol(
 label.Text,
 font, new dojo.Color([0, 0, 0])
).setOffset(10, -10);
var labelPointGraphic = new esri.Graphic(new esri.geometry.Point(label.X, label.Y), textSymbol);
app.areaLabelsLayer.add(labelPointGraphic);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my browser there is a 10px label printed at a specified coordinate with an offset of [10,-10]. When I print my map using esri.dijit.Print, none of the formatting seems to copy. I know I can change label.X and label.Y to an approximate offset, but this will only really work for a specified zoom level. What can I do to keep my font, size, and weight in the printed version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2013 18:55:16 GMT</pubDate>
    <dc:creator>DanielSanders</dc:creator>
    <dc:date>2013-01-14T18:55:16Z</dc:date>
    <item>
      <title>Printing TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-textsymbol/m-p/746553#M69083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Suppose I have a TextSymbol that I want to print as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;app.areaLabelsLayer = new esri.layers.GraphicsLayer();
app.map.addLayer(app.areaLabelsLayer);

...

var font = new esri.symbol.Font(10, esri.symbol.Font.STYLE_NORMAL, esri.symbol.Font.VARIANT_NORMAL, esri.symbol.Font.WEIGHT_BOLDER);
var textSymbol = new esri.symbol.TextSymbol(
 label.Text,
 font, new dojo.Color([0, 0, 0])
).setOffset(10, -10);
var labelPointGraphic = new esri.Graphic(new esri.geometry.Point(label.X, label.Y), textSymbol);
app.areaLabelsLayer.add(labelPointGraphic);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my browser there is a 10px label printed at a specified coordinate with an offset of [10,-10]. When I print my map using esri.dijit.Print, none of the formatting seems to copy. I know I can change label.X and label.Y to an approximate offset, but this will only really work for a specified zoom level. What can I do to keep my font, size, and weight in the printed version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 18:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-textsymbol/m-p/746553#M69083</guid>
      <dc:creator>DanielSanders</dc:creator>
      <dc:date>2013-01-14T18:55:16Z</dc:date>
    </item>
  </channel>
</rss>

