<?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 Custom Print Addin in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/custom-print-addin/m-p/1220597#M60908</link>
    <description>&lt;P&gt;We have a requirement to create a Addin that prints a layout. Prior to ArcGIS pro, it was possible to do the same using PrintAndExportClass in ArcMap. Do we have anything&amp;nbsp; equivalent in PRO?&lt;/P&gt;&lt;P&gt;I am aware of invoking the esri_sharing_PrintMap command. However, my main requirement is to listen to print events as I need to do some post print operations. Is there a way to capture print events like Cancel, AfterPrint etc?.&lt;/P&gt;&lt;P&gt;IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper("esri_sharing_PrintMap");&lt;BR /&gt;var command = wrapper as ICommand;&amp;nbsp;&lt;BR /&gt;if ((command != null) &amp;amp;&amp;amp; command.CanExecute(null))&lt;BR /&gt;command.Execute(null);‍‍‍‍&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 07:09:27 GMT</pubDate>
    <dc:creator>imrankhadri</dc:creator>
    <dc:date>2022-10-11T07:09:27Z</dc:date>
    <item>
      <title>Custom Print Addin</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-print-addin/m-p/1220597#M60908</link>
      <description>&lt;P&gt;We have a requirement to create a Addin that prints a layout. Prior to ArcGIS pro, it was possible to do the same using PrintAndExportClass in ArcMap. Do we have anything&amp;nbsp; equivalent in PRO?&lt;/P&gt;&lt;P&gt;I am aware of invoking the esri_sharing_PrintMap command. However, my main requirement is to listen to print events as I need to do some post print operations. Is there a way to capture print events like Cancel, AfterPrint etc?.&lt;/P&gt;&lt;P&gt;IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper("esri_sharing_PrintMap");&lt;BR /&gt;var command = wrapper as ICommand;&amp;nbsp;&lt;BR /&gt;if ((command != null) &amp;amp;&amp;amp; command.CanExecute(null))&lt;BR /&gt;command.Execute(null);‍‍‍‍&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 07:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-print-addin/m-p/1220597#M60908</guid>
      <dc:creator>imrankhadri</dc:creator>
      <dc:date>2022-10-11T07:09:27Z</dc:date>
    </item>
  </channel>
</rss>

