<?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 do you determine which map frame is active in a layout? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851941#M4289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good.&amp;nbsp; Thank you Jeff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 21:52:54 GMT</pubDate>
    <dc:creator>TomFlahive</dc:creator>
    <dc:date>2018-04-06T21:52:54Z</dc:date>
    <item>
      <title>How do you determine which map frame is active in a layout?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851939#M4287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to resize a map frame in a layout.&amp;nbsp; If the layout has more than one map frame, as in the screenshot below, how can I determine which map frame is currently the active map frame (which shows as bolded in the Contents pane)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Select map frame in a layout with multiple map frames." class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/400270_MapFrames.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the MapFrame object and the Layout object, but did not see any properties that would tell me which&amp;nbsp;map frame is active.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 17:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851939#M4287</guid>
      <dc:creator>TomFlahive</dc:creator>
      <dc:date>2018-03-30T17:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine which map frame is active in a layout?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851940#M4288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This propery has not yet been exposed but thank you for bringing this to our attention - we will expose it in an upcoming release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851940#M4288</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2018-04-05T13:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine which map frame is active in a layout?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851941#M4289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good.&amp;nbsp; Thank you Jeff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 21:52:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851941#M4289</guid>
      <dc:creator>TomFlahive</dc:creator>
      <dc:date>2018-04-06T21:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you determine which map frame is active in a layout?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851942#M4290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been addressed for the ArcGIS Pro 2.2 release.&amp;nbsp; There is a r/o property called ActiveMapFrame on the LayoutView class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//ActiveMapFrame&lt;BR /&gt; LayoutView lytView = LayoutView.Active;&lt;BR /&gt; if (lytView == null)&lt;BR /&gt; { &lt;BR /&gt; System.Windows.MessageBox.Show("No LayoutView");&lt;BR /&gt; return;&lt;BR /&gt; }&lt;BR /&gt; MapFrame mf = lytView.ActiveMapFrame;&lt;BR /&gt; if (mf == null)&lt;BR /&gt; System.Windows.MessageBox.Show("No MapFrame");&lt;BR /&gt; else &lt;BR /&gt; System.Windows.MessageBox.Show(mf.Name);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 15:22:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-determine-which-map-frame-is-active-in/m-p/851942#M4290</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2018-05-16T15:22:01Z</dc:date>
    </item>
  </channel>
</rss>

