<?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 Create custom map png from bounding box in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1381345#M11083</link>
    <description>&lt;P&gt;Hi everyone! I am working with an ArcGIS add-in that generates reports. One component of the report is a map image contextualizing the rest of the report. The way I have it set up now is that the add-in will take a "screenshot" of the current map view and use that as the image in the report.&lt;BR /&gt;&lt;BR /&gt;I have run into a few problems with this approach, like the size of the image depending on the size of their open ArcGIS window, as well as a lack of legends/north directional indicator.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way in the ArcGIS Pro SDK to give like a bounding box and generate a map image with preset dimensions, included layers, legend, etc. from that? I would love to standardize this step of the process more than it is right now. Let me know your thoughts! Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 22:32:46 GMT</pubDate>
    <dc:creator>estz2</dc:creator>
    <dc:date>2024-02-12T22:32:46Z</dc:date>
    <item>
      <title>Create custom map png from bounding box</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1381345#M11083</link>
      <description>&lt;P&gt;Hi everyone! I am working with an ArcGIS add-in that generates reports. One component of the report is a map image contextualizing the rest of the report. The way I have it set up now is that the add-in will take a "screenshot" of the current map view and use that as the image in the report.&lt;BR /&gt;&lt;BR /&gt;I have run into a few problems with this approach, like the size of the image depending on the size of their open ArcGIS window, as well as a lack of legends/north directional indicator.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way in the ArcGIS Pro SDK to give like a bounding box and generate a map image with preset dimensions, included layers, legend, etc. from that? I would love to standardize this step of the process more than it is right now. Let me know your thoughts! Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 22:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1381345#M11083</guid>
      <dc:creator>estz2</dc:creator>
      <dc:date>2024-02-12T22:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom map png from bounding box</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1382360#M11101</link>
      <description>&lt;P&gt;For the map view _only_ there is mapView.CaptureThumbnail(width, height) &lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic19522.html" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic19522.html&lt;/A&gt; but it sounds like u might already be using this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a legend, northarrow, other marginalia, etc. u r basically describing the purpose of a &lt;STRONG&gt;Layout&lt;/STRONG&gt;. &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/layouts/layouts-in-arcgis-pro.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/layouts/layouts-in-arcgis-pro.htm&lt;/A&gt; Layouts can be exported to a variety of different formats including various image formats and pdf.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic22445.html" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic22445.html&lt;/A&gt;&amp;nbsp;- u will also find some code examples on this reference page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 18:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1382360#M11101</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2024-02-14T18:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create custom map png from bounding box</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1384163#M11115</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/145101"&gt;@CharlesMacleod&lt;/a&gt;&amp;nbsp;layouts look great! I have been able to create the layout I want and look at it through the&amp;nbsp;CreateLayoutPaneAsync function. But run into errors when I export it. Has this bug really been resolved in 3.2?&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/the-mapframeexport-method-returns-the-exception-message-bug-000157092" target="_blank"&gt;BUG-000157092 for ArcGIS Pro SDK for .NET (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 23:36:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-custom-map-png-from-bounding-box/m-p/1384163#M11115</guid>
      <dc:creator>estz2</dc:creator>
      <dc:date>2024-02-19T23:36:54Z</dc:date>
    </item>
  </channel>
</rss>

