<?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 Arcade Question in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253870#M64921</link>
    <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I am trying to set the size of the font in my feature class based on the value of the height field using arcgis pro labelling.&amp;nbsp; I have set the expression to the following but it doesn't work. any ideas why??&lt;/P&gt;&lt;P&gt;"&amp;lt;FNT size = '10' * $feature.height&amp;gt;" + $feature.textstring + "&amp;lt;/FNT&amp;gt;"&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 15:36:01 GMT</pubDate>
    <dc:creator>AndrewIngall2</dc:creator>
    <dc:date>2023-02-01T15:36:01Z</dc:date>
    <item>
      <title>Arcade Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253870#M64921</link>
      <description>&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;I am trying to set the size of the font in my feature class based on the value of the height field using arcgis pro labelling.&amp;nbsp; I have set the expression to the following but it doesn't work. any ideas why??&lt;/P&gt;&lt;P&gt;"&amp;lt;FNT size = '10' * $feature.height&amp;gt;" + $feature.textstring + "&amp;lt;/FNT&amp;gt;"&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 15:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253870#M64921</guid>
      <dc:creator>AndrewIngall2</dc:creator>
      <dc:date>2023-02-01T15:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253878#M64923</link>
      <description>&lt;LI-CODE lang="javascript"&gt;var size = $feature.OBJECTID
return `&amp;lt;FNT size='${size}'&amp;gt;Test&amp;lt;/FNT&amp;gt;`&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1675266478040.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/61857iC332EF3BDCED4083/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1675266478040.png" alt="JohannesLindner_0-1675266478040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 15:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253878#M64923</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-02-01T15:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253907#M64928</link>
      <description>&lt;P&gt;Johnnes&lt;/P&gt;&lt;P&gt;Thanks for the reply which works fine when i type the text in for display but i am obviously missing something when i want to display the text automatically from the field textstring.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var size = $feature.height * 6.66
return `&amp;lt;FNT size='${size}'&amp;gt;$feature.textstring&amp;lt;/FNT&amp;gt;`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Please see the output on the image attached&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253907#M64928</guid>
      <dc:creator>AndrewIngall2</dc:creator>
      <dc:date>2023-02-01T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253916#M64931</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;This must be a syntax issue, try the following instead to skip size value between quotation marks (be careful not to forget single quotation mark at the end of the first part and in the beggining of the next one after $feature.height variable):&lt;/P&gt;&lt;P&gt;"&amp;lt;FNT size= '" + &lt;SPAN&gt;10&amp;nbsp;&lt;/SPAN&gt;* $feature.&lt;SPAN&gt;height&lt;/SPAN&gt; + "'&amp;gt;" + $feature.&lt;SPAN&gt;textstring&amp;nbsp;&lt;/SPAN&gt; + "&amp;lt;/FNT&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/text-formatting-tags.htm" target="_self"&gt;More info&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kepa&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp; was faster, and better arcade syntax. Great!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253916#M64931</guid>
      <dc:creator>Kepa</dc:creator>
      <dc:date>2023-02-01T16:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253920#M64932</link>
      <description>&lt;LI-CODE lang="javascript"&gt;var size = $feature.height * 6.66
return `&amp;lt;FNT size='${size}'&amp;gt;${$feature.textstring}&amp;lt;/FNT&amp;gt;`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/template-literals/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/guide/template-literals/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-question/m-p/1253920#M64932</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-02-01T16:25:15Z</dc:date>
    </item>
  </channel>
</rss>

