<?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 In Line Styling for Labels in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1371799#M77603</link>
    <description>&lt;P&gt;Hi all.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to make a label in Arcade for a layer I am working on.&amp;nbsp; I would like to have one of the lines (the one below in bold) in the label be a different font size than the rest of the label.&amp;nbsp; Is there a way to do this within Arcade?&amp;nbsp; I thought it would be in the TextFormatting constant but it doesn't seem to be.&lt;/P&gt;&lt;P&gt;Thanks, and please let me know what you think.&lt;/P&gt;&lt;P&gt;return 'Hard: ' +DomainName($feature, 'PER_HARDWO') +'%'+TextFormatting.NewLine+&lt;BR /&gt;'Con: '+DomainName($feature, 'PER_CONIFE')+'%'+TextFormatting.NewLine+&lt;BR /&gt;'Shrub: '+DomainName($feature, 'PER_SHRUB')+'%'+TextFormatting.NewLine+&lt;BR /&gt;'Herb: '+DomainName($feature, 'HERB_CODE')+'%'+TextFormatting.NewLine+&lt;BR /&gt;&lt;STRONG&gt;DomainName($feature, 'Map_Unit')+TextFormatting.NewLine+&lt;/STRONG&gt;&lt;BR /&gt;'Acres: '+Ceil((($feature.Shape__Area)/4046.91),2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 18:07:38 GMT</pubDate>
    <dc:creator>JohnKellyNeedsGISHelp</dc:creator>
    <dc:date>2024-01-18T18:07:38Z</dc:date>
    <item>
      <title>Arcade In Line Styling for Labels</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1371799#M77603</link>
      <description>&lt;P&gt;Hi all.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to make a label in Arcade for a layer I am working on.&amp;nbsp; I would like to have one of the lines (the one below in bold) in the label be a different font size than the rest of the label.&amp;nbsp; Is there a way to do this within Arcade?&amp;nbsp; I thought it would be in the TextFormatting constant but it doesn't seem to be.&lt;/P&gt;&lt;P&gt;Thanks, and please let me know what you think.&lt;/P&gt;&lt;P&gt;return 'Hard: ' +DomainName($feature, 'PER_HARDWO') +'%'+TextFormatting.NewLine+&lt;BR /&gt;'Con: '+DomainName($feature, 'PER_CONIFE')+'%'+TextFormatting.NewLine+&lt;BR /&gt;'Shrub: '+DomainName($feature, 'PER_SHRUB')+'%'+TextFormatting.NewLine+&lt;BR /&gt;'Herb: '+DomainName($feature, 'HERB_CODE')+'%'+TextFormatting.NewLine+&lt;BR /&gt;&lt;STRONG&gt;DomainName($feature, 'Map_Unit')+TextFormatting.NewLine+&lt;/STRONG&gt;&lt;BR /&gt;'Acres: '+Ceil((($feature.Shape__Area)/4046.91),2);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 18:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1371799#M77603</guid>
      <dc:creator>JohnKellyNeedsGISHelp</dc:creator>
      <dc:date>2024-01-18T18:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade In Line Styling for Labels</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1371805#M77604</link>
      <description>&lt;P&gt;In Pro, you can alter the font with HTML tags, like "&amp;lt;BOL&amp;gt;".&lt;/P&gt;&lt;P&gt;Also, check out using template literals, it can make for a much easier-to-read expression. Not sure about Pro, but in other contexts, it will respect a line break within the backtick string:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return `Hard: ${DomainName($feature, 'PER_HARDWO')}%
Con: ${DomainName($feature, 'PER_CONIFE')}%
Shrub: ${DomainName($feature, 'PER_SHRUB')}%
Herb: ${DomainName($feature, 'HERB_CODE')}%
&amp;lt;BOL&amp;gt;${DomainName($feature, 'Map_Unit')}&amp;lt;/BOL&amp;gt;
Acres: ${Ceil((($feature.Shape__Area)/4046.91),2)}`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 18:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1371805#M77604</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-01-18T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade In Line Styling for Labels</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1372029#M77638</link>
      <description>&lt;P&gt;Thanks for the advice Josh, I'll check out HTML tags, and hopefully that will work well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 00:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-in-line-styling-for-labels/m-p/1372029#M77638</guid>
      <dc:creator>JohnKellyNeedsGISHelp</dc:creator>
      <dc:date>2024-01-19T00:55:10Z</dc:date>
    </item>
  </channel>
</rss>

