<?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 Multi-line annotation with line feed in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/multi-line-annotation-with-line-feed/m-p/584717#M33035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ran into an interesting situation when working with multiline annotations that have a baseline vertical alignment/justificaiton.&amp;nbsp; These were annotations that we migrated from a different system.&amp;nbsp; So the text for the annotation was brought in as it was in the old system which was unix-based and used just a line feed as the newline character.&amp;nbsp; The annotation correctly displayed as multiple lines.&amp;nbsp; But, the vertical alignment was only affecting the first line of the annotation.&amp;nbsp; I was expecting that the baseline alignment would mean the point of the annotation would be along the bottom of the last line.&amp;nbsp; But it was along the bottom of the first line.&amp;nbsp; After some investigation, I found that it was the line feed character that appears to cause this.&amp;nbsp; If I would edit the text by deleting the newline and placing a new one in the editor, then it would correctly align the entire annotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is a bug or the intended behavior.&amp;nbsp; You can't put a line feed in the annotation by using the normal editor.&amp;nbsp; It always uses CR+LF.&amp;nbsp; Which makes sense being a Windows-based system.&amp;nbsp; But I was able to replicate this by using the field calculator and the VbLF character.&amp;nbsp; You can see the results of this in the two screenshots below.&amp;nbsp; The first shows the annotation when updated using the editor.&amp;nbsp; The second shows the annotation when updated using the field calculator to force the line feed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32587[/ATTACH] [ATTACH=CONFIG]32588[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would appear ArcMap interprets the line feed as a newline from a display standpoint but not from an alignment standpoint.&amp;nbsp; And the other interesting thing is that if you edit the symbology of the annotation, the preview always shows the text aligned from the first line.&amp;nbsp; Even when the annotation uses the correct CR+LF newline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32591[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wasn't able to find any discussion of this issue so I thought I would share in case anyone else ran into this in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2014 12:37:38 GMT</pubDate>
    <dc:creator>BillyBuerger</dc:creator>
    <dc:date>2014-03-28T12:37:38Z</dc:date>
    <item>
      <title>Multi-line annotation with line feed</title>
      <link>https://community.esri.com/t5/data-management-questions/multi-line-annotation-with-line-feed/m-p/584717#M33035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ran into an interesting situation when working with multiline annotations that have a baseline vertical alignment/justificaiton.&amp;nbsp; These were annotations that we migrated from a different system.&amp;nbsp; So the text for the annotation was brought in as it was in the old system which was unix-based and used just a line feed as the newline character.&amp;nbsp; The annotation correctly displayed as multiple lines.&amp;nbsp; But, the vertical alignment was only affecting the first line of the annotation.&amp;nbsp; I was expecting that the baseline alignment would mean the point of the annotation would be along the bottom of the last line.&amp;nbsp; But it was along the bottom of the first line.&amp;nbsp; After some investigation, I found that it was the line feed character that appears to cause this.&amp;nbsp; If I would edit the text by deleting the newline and placing a new one in the editor, then it would correctly align the entire annotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this is a bug or the intended behavior.&amp;nbsp; You can't put a line feed in the annotation by using the normal editor.&amp;nbsp; It always uses CR+LF.&amp;nbsp; Which makes sense being a Windows-based system.&amp;nbsp; But I was able to replicate this by using the field calculator and the VbLF character.&amp;nbsp; You can see the results of this in the two screenshots below.&amp;nbsp; The first shows the annotation when updated using the editor.&amp;nbsp; The second shows the annotation when updated using the field calculator to force the line feed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32587[/ATTACH] [ATTACH=CONFIG]32588[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would appear ArcMap interprets the line feed as a newline from a display standpoint but not from an alignment standpoint.&amp;nbsp; And the other interesting thing is that if you edit the symbology of the annotation, the preview always shows the text aligned from the first line.&amp;nbsp; Even when the annotation uses the correct CR+LF newline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32591[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wasn't able to find any discussion of this issue so I thought I would share in case anyone else ran into this in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 12:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/multi-line-annotation-with-line-feed/m-p/584717#M33035</guid>
      <dc:creator>BillyBuerger</dc:creator>
      <dc:date>2014-03-28T12:37:38Z</dc:date>
    </item>
  </channel>
</rss>

