<?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 Print Preview  in JavaScript API 4.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-print-preview-in-javascript-api-4-x/m-p/1057409#M73087</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ESRI Javascript 3x version I have created a print preview to highlight the print area on the screen. User&amp;nbsp; will get an idea about the area included in the print output. I&amp;nbsp; used screenUtils API (3.x) for this purpose. While checking the functionality matrix I understand this is deprecated in the 4.x version and not planned to upgrade. The guidelines suggest to use MapView.toMap(), MapView.toScreen(), SceneView.toMap(), SceneView.toScreen(). attached a screen shot from the current 3.x version. Could some one suggest a working example using Javascript API 4.x to get similar output. a sandbox example would be really helpful&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="printpreview.PNG" style="width: 795px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13209iBA2F98F329A53FF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="printpreview.PNG" alt="printpreview.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 22:46:55 GMT</pubDate>
    <dc:creator>SurendranNeelakantan</dc:creator>
    <dc:date>2021-05-12T22:46:55Z</dc:date>
    <item>
      <title>Create Print Preview  in JavaScript API 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-print-preview-in-javascript-api-4-x/m-p/1057409#M73087</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ESRI Javascript 3x version I have created a print preview to highlight the print area on the screen. User&amp;nbsp; will get an idea about the area included in the print output. I&amp;nbsp; used screenUtils API (3.x) for this purpose. While checking the functionality matrix I understand this is deprecated in the 4.x version and not planned to upgrade. The guidelines suggest to use MapView.toMap(), MapView.toScreen(), SceneView.toMap(), SceneView.toScreen(). attached a screen shot from the current 3.x version. Could some one suggest a working example using Javascript API 4.x to get similar output. a sandbox example would be really helpful&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="printpreview.PNG" style="width: 795px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13209iBA2F98F329A53FF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="printpreview.PNG" alt="printpreview.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 22:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-print-preview-in-javascript-api-4-x/m-p/1057409#M73087</guid>
      <dc:creator>SurendranNeelakantan</dc:creator>
      <dc:date>2021-05-12T22:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Print Preview  in JavaScript API 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-print-preview-in-javascript-api-4-x/m-p/1057646#M73098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/96205"&gt;@SurendranNeelakantan&lt;/a&gt;, thanks for the question. We have this sample in the SDK that sounds like what you're looking for (and has a sandbox mode):&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sceneview-screenshot/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sceneview-screenshot/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And here is a blog that has some really good tips and tricks about working with Screenshots:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-configurable-apps-blogs/screenshots-with-the-arcgis-api-for-javascript-html2canvas/ba-p/904367" target="_blank"&gt;https://community.esri.com/t5/arcgis-configurable-apps-blogs/screenshots-with-the-arcgis-api-for-javascript-html2canvas/ba-p/904367&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 15:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-print-preview-in-javascript-api-4-x/m-p/1057646#M73098</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-05-13T15:29:32Z</dc:date>
    </item>
  </channel>
</rss>

