<?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 Converting Add-In to ArcPro in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/converting-add-in-to-arcpro/m-p/598371#M4042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to convert a C# add-in to work with ArcPro. &amp;nbsp;The online resouces for the SDK seem to be a bit limited, or I just don't understand how to use them. &amp;nbsp;Can anyone give some guidance on the best way to convert this bit of code? &amp;nbsp;I cannot seem to find anything related to Geometry.IPoint in the new SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public ESRI.ArcGIS.Geometry.IPoint GetMapCoordinatesFromScreenCoordinates(ESRI.ArcGIS.Geometry.IPoint screenPoint, ESRI.ArcGIS.Carto.IActiveView activeView)&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;if (screenPoint == null || screenPoint.IsEmpty || activeView == null)&lt;BR /&gt; {&lt;BR /&gt; return null;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = activeView.ScreenDisplay;&lt;BR /&gt; ESRI.ArcGIS.Display.IDisplayTransformation displayTransformation =&lt;BR /&gt; screenDisplay.DisplayTransformation;&lt;/P&gt;&lt;P&gt;return displayTransformation.ToMapPoint((System.Int32)screenPoint.X, (System.Int32)screenPoint.Y);&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 14:24:36 GMT</pubDate>
    <dc:creator>BrianBulla</dc:creator>
    <dc:date>2017-07-28T14:24:36Z</dc:date>
    <item>
      <title>Converting Add-In to ArcPro</title>
      <link>https://community.esri.com/t5/developers-questions/converting-add-in-to-arcpro/m-p/598371#M4042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to convert a C# add-in to work with ArcPro. &amp;nbsp;The online resouces for the SDK seem to be a bit limited, or I just don't understand how to use them. &amp;nbsp;Can anyone give some guidance on the best way to convert this bit of code? &amp;nbsp;I cannot seem to find anything related to Geometry.IPoint in the new SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public ESRI.ArcGIS.Geometry.IPoint GetMapCoordinatesFromScreenCoordinates(ESRI.ArcGIS.Geometry.IPoint screenPoint, ESRI.ArcGIS.Carto.IActiveView activeView)&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;if (screenPoint == null || screenPoint.IsEmpty || activeView == null)&lt;BR /&gt; {&lt;BR /&gt; return null;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = activeView.ScreenDisplay;&lt;BR /&gt; ESRI.ArcGIS.Display.IDisplayTransformation displayTransformation =&lt;BR /&gt; screenDisplay.DisplayTransformation;&lt;/P&gt;&lt;P&gt;return displayTransformation.ToMapPoint((System.Int32)screenPoint.X, (System.Int32)screenPoint.Y);&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/converting-add-in-to-arcpro/m-p/598371#M4042</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2017-07-28T14:24:36Z</dc:date>
    </item>
  </channel>
</rss>

