<?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 Re: Printing a textSymbol in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746260#M69036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, its been driving me crazy since everything looked correct. Your suggestion worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 17:30:52 GMT</pubDate>
    <dc:creator>IbrahimHussein</dc:creator>
    <dc:date>2014-12-17T17:30:52Z</dc:date>
    <item>
      <title>Printing a textSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746258#M69034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, I am making a measurement app, and I am adding the measurements on every click as a graphic(point, textSymbol) and I am setting the color to white. Now on the map it shows up as white, but when I print the result, the measurement text comes out black. Cant seem to figure out whats going on, any ideas?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41079" alt="measure.jpg" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/41079_measure.jpg" style="width: 620px; height: 191px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 13:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746258#M69034</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-12-16T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a textSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746259#M69035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen this sort of thing happen before when working with fonts. I downloaded your code and rewrote the part that creates the text symbols. Using the verbose method of creating the symbol fixed the issue for me. This is the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var font = new Font();&lt;/P&gt;&lt;P&gt;&amp;nbsp; font.setSize("15pt");&lt;/P&gt;&lt;P&gt;&amp;nbsp; font.setWeight(Font.WEIGHT_BOLDER);&lt;/P&gt;&lt;P&gt;&amp;nbsp; font.setFamily("Candara");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var color = new Color();&lt;/P&gt;&lt;P&gt;&amp;nbsp; color.setColor([255, 255, 255]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var textSymbol = new TextSymbol()&lt;/P&gt;&lt;P&gt;&amp;nbsp; textSymbol.setText(zero.toFixed(1).toString()+"'");&lt;/P&gt;&lt;P&gt;&amp;nbsp; textSymbol.setFont(font);&lt;/P&gt;&lt;P&gt;&amp;nbsp; textSymbol.setColor(color);&lt;/P&gt;&lt;P&gt;&amp;nbsp; textSymbol.setAlign(Font.ALIGN_MIDDLE);&lt;/P&gt;&lt;P&gt;&amp;nbsp; textSymbol.setAngle(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; totalLength += zero;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mx = (parseFloat(x1)+parseFloat(x))/2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; my = (parseFloat(y1)+parseFloat(y))/2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var labelPoint = new Point(mx,my);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; var labelPointGraphic = new Graphic();&lt;/P&gt;&lt;P&gt;&amp;nbsp; labelPointGraphic.setGeometry(labelPoint);&lt;/P&gt;&lt;P&gt;&amp;nbsp; labelPointGraphic.setSymbol(textSymbol);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 17:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746259#M69035</guid>
      <dc:creator>NicholasHaney</dc:creator>
      <dc:date>2014-12-17T17:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a textSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746260#M69036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, its been driving me crazy since everything looked correct. Your suggestion worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 17:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746260#M69036</guid>
      <dc:creator>IbrahimHussein</dc:creator>
      <dc:date>2014-12-17T17:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printing a textSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746261#M69037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have same problem with textsymbol in printing layout. No matter what color i use, the printing map symbols always still black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try the example but not working. zero not defined.&lt;/P&gt;&lt;P&gt;You can send more code for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 14:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-a-textsymbol/m-p/746261#M69037</guid>
      <dc:creator>CMC111</dc:creator>
      <dc:date>2018-02-07T14:46:02Z</dc:date>
    </item>
  </channel>
</rss>

