<?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 Edit and Update Textelement in PageLayout with VBA in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673008#M18025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to Export a MapLayout by Click. I get a value from the click in the map (for example "housekeeper"). Now I have a sub for setting a new Textfield as MapTitle with this value like that Code found here: &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=130438"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=130438&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the code is to place a New Textfield, so when I click to export a new Map I only want to edit the TextField and not to place every time a new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The title textfield is the only one in the pagelayout. How can I select the textelements in the pagelayout - I need a hint. thx for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2011 13:08:55 GMT</pubDate>
    <dc:creator>KaiApel1</dc:creator>
    <dc:date>2011-10-11T13:08:55Z</dc:date>
    <item>
      <title>Edit and Update Textelement in PageLayout with VBA</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673008#M18025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to Export a MapLayout by Click. I get a value from the click in the map (for example "housekeeper"). Now I have a sub for setting a new Textfield as MapTitle with this value like that Code found here: &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=130438"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=130438&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the code is to place a New Textfield, so when I click to export a new Map I only want to edit the TextField and not to place every time a new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The title textfield is the only one in the pagelayout. How can I select the textelements in the pagelayout - I need a hint. thx for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 13:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673008#M18025</guid>
      <dc:creator>KaiApel1</dc:creator>
      <dc:date>2011-10-11T13:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Edit and Update Textelement in PageLayout with VBA</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673009#M18026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dear Forum,&lt;BR /&gt;&lt;BR /&gt;I want to Export a MapLayout by Click. I get a value from the click in the map (for example "housekeeper"). Now I have a sub for setting a new Textfield as MapTitle with this value like that Code found here: &lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=130438"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=130438&lt;/A&gt;.&lt;BR /&gt;Now the code is to place a New Textfield, so when I click to export a new Map I only want to edit the TextField and not to place every time a new one.&lt;BR /&gt;The title textfield is the only one in the pagelayout. How can I select the textelements in the pagelayout - I need a hint. thx for the help!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure if you can actually add a named TextElement to the Layout (so that you can reference it specifically later on to alter the text) -- hopefully someone will show how to do this.&amp;nbsp; What you can do is delete all of the existing elements and replace them --- lots of work and code, I know, but is a workaround to consider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&amp;nbsp; here is a solution.&amp;nbsp; Looks like you can set the name property of the textElements that you add to your Layout!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=161720&amp;amp;mc=8#msgid473582"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=161720&amp;amp;mc=8#msgid473582&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 13:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673009#M18026</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2011-10-11T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Edit and Update Textelement in PageLayout with VBA</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673010#M18027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So fast - many thx for the link James. I have fixed my code for setting the NameProperty of the Textelement, so I can check, if it set or not and I can edit this one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 14:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673010#M18027</guid>
      <dc:creator>KaiApel1</dc:creator>
      <dc:date>2011-10-11T14:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Edit and Update Textelement in PageLayout with VBA</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673011#M18028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So fast - many thx for the link James. I have fixed my code for setting the NameProperty of the Textelement, so I can check, if it set or not and I can edit this one.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Excellent!&amp;nbsp; Actually, this has me revisiting one of my apps and implementing this very same thing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:18:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/edit-and-update-textelement-in-pagelayout-with-vba/m-p/673011#M18028</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2011-10-11T15:18:52Z</dc:date>
    </item>
  </channel>
</rss>

