<?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 Update AnnotationFeature graphic in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-annotationfeature-graphic/m-p/1400440#M11283</link>
    <description>&lt;P&gt;I want to make updates on an AnnotationFeature's Graphic. For that I use this pattern:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var graphic = annotationFeature.GetGraphic() as CIMTextGraphic
graphic.Shape = someGeometry;
annotationFeature.SetGraphic(graphic)
annotationFeature.Store()
ActiveMapView.Invalidate(..);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the annotation to reflect my edits instantly but without the annotationFeature.Store(). For every update on the graphic Store() creates Add-/Delete rows in a versioned geodatabase.&lt;/P&gt;&lt;P&gt;What I want to achieve is to update the Annotation's graphic in some sort of sketch operations and then commit the operations in a single edit operation. Tnanks.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 17:21:35 GMT</pubDate>
    <dc:creator>DanielRoth</dc:creator>
    <dc:date>2024-03-25T17:21:35Z</dc:date>
    <item>
      <title>Update AnnotationFeature graphic</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-annotationfeature-graphic/m-p/1400440#M11283</link>
      <description>&lt;P&gt;I want to make updates on an AnnotationFeature's Graphic. For that I use this pattern:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var graphic = annotationFeature.GetGraphic() as CIMTextGraphic
graphic.Shape = someGeometry;
annotationFeature.SetGraphic(graphic)
annotationFeature.Store()
ActiveMapView.Invalidate(..);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the annotation to reflect my edits instantly but without the annotationFeature.Store(). For every update on the graphic Store() creates Add-/Delete rows in a versioned geodatabase.&lt;/P&gt;&lt;P&gt;What I want to achieve is to update the Annotation's graphic in some sort of sketch operations and then commit the operations in a single edit operation. Tnanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 17:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/update-annotationfeature-graphic/m-p/1400440#M11283</guid>
      <dc:creator>DanielRoth</dc:creator>
      <dc:date>2024-03-25T17:21:35Z</dc:date>
    </item>
  </channel>
</rss>

