<?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: Add A Title to a PDF using python. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661077#M51363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mathew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That didn't work.&amp;nbsp; Should I have set data driven page to on?&amp;nbsp; Also,&amp;nbsp; I put a debug statement in the the for loop and it never goes in there.&amp;nbsp; Is "TEXT_ELEMENT" really what I'm looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2012 13:21:32 GMT</pubDate>
    <dc:creator>WilliamIde</dc:creator>
    <dc:date>2012-06-12T13:21:32Z</dc:date>
    <item>
      <title>Add A Title to a PDF using python.</title>
      <link>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661075#M51361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am exporting a map using arcpy.mapping.Export to PDF.&amp;nbsp; I am panning and zooming to points that have meaning to the user.&amp;nbsp; I would like to figure out how to add a Title to the map I am exporting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the string of text I what to add.&amp;nbsp; I trying using the data frame dn.name = "TEXT".&amp;nbsp; But the just update the ledgend in arcmap.&amp;nbsp; It seems to me that there should be a way.&amp;nbsp; I just don't know it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 18:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661075#M51361</guid>
      <dc:creator>WilliamIde</dc:creator>
      <dc:date>2012-06-11T18:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add A Title to a PDF using python.</title>
      <link>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661076#M51362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;for elm in arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT", "element_title"):
&amp;nbsp;&amp;nbsp;&amp;nbsp; if elm.name == "element_title":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; elm.text = ("Some text")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661076#M51362</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2021-12-12T03:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add A Title to a PDF using python.</title>
      <link>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661077#M51363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mathew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That didn't work.&amp;nbsp; Should I have set data driven page to on?&amp;nbsp; Also,&amp;nbsp; I put a debug statement in the the for loop and it never goes in there.&amp;nbsp; Is "TEXT_ELEMENT" really what I'm looking for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 13:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661077#M51363</guid>
      <dc:creator>WilliamIde</dc:creator>
      <dc:date>2012-06-12T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add A Title to a PDF using python.</title>
      <link>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661078#M51364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to create a text element that you want as your title, and you need to name it whatever you want to reference in the "element_title" parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can read the help doc to get all the information you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000003w000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000003w000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 13:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661078#M51364</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-06-12T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add A Title to a PDF using python.</title>
      <link>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661079#M51365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That got it thanks so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 14:07:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/add-a-title-to-a-pdf-using-python/m-p/661079#M51365</guid>
      <dc:creator>WilliamIde</dc:creator>
      <dc:date>2012-06-12T14:07:06Z</dc:date>
    </item>
  </channel>
</rss>

