<?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: Move Annotation in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172056#M4465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent. &amp;nbsp;Thank you Chris, I'll give this a shot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2017 18:41:07 GMT</pubDate>
    <dc:creator>AdamCrateau1</dc:creator>
    <dc:date>2017-02-09T18:41:07Z</dc:date>
    <item>
      <title>Move Annotation</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172053#M4462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know how to move annotation through arcobjects?&amp;nbsp; I've tried a few different ways, but no results.&amp;nbsp; I can move the feature (box for text) but it doesn't move the text.&amp;nbsp; Thanks for any suggestions!&amp;nbsp; BTW I used the ITransform2d interface to move the polygon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 01:08:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172053#M4462</guid>
      <dc:creator>WesBailes</dc:creator>
      <dc:date>2010-09-16T01:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Move Annotation</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172054#M4463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone else been able to successfully move annotation using arcobjects? &amp;nbsp;I'm trying to create an ArcMap add-in where geodatabase annotation can be selected and aligned with other features (annotation, lines, etc). &amp;nbsp;I'm running into the same issue as Wes - I can move the polygon but not the text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 02:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172054#M4463</guid>
      <dc:creator>AdamCrateau1</dc:creator>
      <dc:date>2017-02-08T02:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Move Annotation</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172055#M4464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way is using IFeatureEdit.MoveSet().&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likewise for rotations, use IFeatureEdit.RotateSet().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue, as you've seen, is that the anno shape is just the bounding polygon.&amp;nbsp; This is true for both anno text and anno used to store graphics.&amp;nbsp; The actual text/graphic is stored in the element blob field.&amp;nbsp; So either use the *Set() methods, or move the polygon and element separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;var&amp;nbsp;fedit = feature as IFeatureEdit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var set = new SetClass();&lt;/P&gt;&lt;P&gt;set.Add(fedit);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var vector = new LineClass();&lt;/P&gt;&lt;P&gt;vector.FromPoint = ...;&lt;/P&gt;&lt;P&gt;vector.ToPoint = ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fedit.MoveSet(set, vector);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 16:57:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172055#M4464</guid>
      <dc:creator>ChrisKushnir</dc:creator>
      <dc:date>2017-02-09T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Move Annotation</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172056#M4465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent. &amp;nbsp;Thank you Chris, I'll give this a shot..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/move-annotation/m-p/172056#M4465</guid>
      <dc:creator>AdamCrateau1</dc:creator>
      <dc:date>2017-02-09T18:41:07Z</dc:date>
    </item>
  </channel>
</rss>

