<?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: How to export my map into PNG file in Python in Arcgis Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441055#M19442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! This is just what I need!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Oct 2020 15:15:38 GMT</pubDate>
    <dc:creator>wwwu</dc:creator>
    <dc:date>2020-10-03T15:15:38Z</dc:date>
    <item>
      <title>How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441049#M19436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The counterpart of that in ArcMap is arcpy.mapping.exportToPNG(),&lt;/P&gt;&lt;P&gt;but i could not find the substitute in Arcpy.mp in arcgis pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441049#M19436</guid>
      <dc:creator>wwwu</dc:creator>
      <dc:date>2020-09-30T02:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441050#M19437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/map-class.htm"&gt;Map—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;A map can also be accessed from a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/mapframe-class.htm" style="color: #0074b8; background-color: #ffffff; text-decoration: none;"&gt;MapFrame&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;object using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #ffffff; font-size: 17px;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;property. Note:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #ffffff; font-size: 17px;"&gt;arcpy.mp&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;does not provide access to map views within the application; it only provides access to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/mapframe-class.htm" style="color: #0074b8; background-color: #ffffff; text-decoration: none;"&gt;MapFrames&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;perhaps&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/mapframe-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/mapframe-class.htm"&gt;MapFrame—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp; there is export to png there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plus other salient bits of information beginning here&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/migratingfrom10xarcpymapping.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/migratingfrom10xarcpymapping.htm"&gt;Migrating from arcpy.mapping to ArcGIS Pro—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:10:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441050#M19437</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-09-30T03:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441051#M19438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation says that:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;the method of ListElements on Layout Objects can get access to MapFrame&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when the scirpt below return a null list, do you know the reason?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pro = arcpy.mp.ArcGISProject("CURRENT")&lt;BR /&gt;mp = pro.listLayouts()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441051#M19438</guid>
      <dc:creator>wwwu</dc:creator>
      <dc:date>2020-09-30T03:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441052#M19439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the code samples in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/layout-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/layout-class.htm"&gt;Layout—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, it will only work if you have one or more layouts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441052#M19439</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-09-30T03:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441053#M19440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I don't want to export my layouts. I just want to export my map Object into a PNG file which comes from a .shp file. In the interface, I only need to click on the map icon and click on sharing, then&amp;nbsp;I can export your map into a PNG file, which means map file can be directly exported into a png. But I couldn't find that function in Map class in the documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2020 13:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441053#M19440</guid>
      <dc:creator>wwwu</dc:creator>
      <dc:date>2020-10-03T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441054#M19441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are exportTo... methods bound to &lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/mapview-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/mapview-class.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;MapView—ArcGIS Pro | Documentation&lt;/A&gt;.&amp;nbsp; Either use the activeView property of an ArcGISProject or the defaultView property of a specific map.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;aprx &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;mp&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGISProject&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"CURRENT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; aprx&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;listMaps&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;defaultView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exportToPNG&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441054#M19441</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-11T19:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441055#M19442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! This is just what I need!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2020 15:15:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441055#M19442</guid>
      <dc:creator>wwwu</dc:creator>
      <dc:date>2020-10-03T15:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to export my map into PNG file in Python in Arcgis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441056#M19443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark a response as Correct to close out the question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2020 21:59:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-export-my-map-into-png-file-in-python-in/m-p/441056#M19443</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-10-03T21:59:43Z</dc:date>
    </item>
  </channel>
</rss>

