<?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 How to set a specific extent at startup in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/how-to-set-a-specific-extent-at-startup/m-p/703965#M4394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application that is composed from a dock window and an extension. At the onStartUp event of the Extension I am adding my own layers. The client requested that this Application should always open with a specified extent. I tried this code in the OnStartup event: &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.ZoomTo(new Envelope(27.0035540404876, 15.2397874917475, 56.8697829519645, 31.6822644786311), 800000);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; but id did nothing. If I place this code insite the dock window it works fine, but the problem is that I can't do this because I can't be sure that onStartup of the application the dock window will be open. Is there a way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 06:41:53 GMT</pubDate>
    <dc:creator>HassanMokdad</dc:creator>
    <dc:date>2012-01-19T06:41:53Z</dc:date>
    <item>
      <title>How to set a specific extent at startup</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/how-to-set-a-specific-extent-at-startup/m-p/703965#M4394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application that is composed from a dock window and an extension. At the onStartUp event of the Extension I am adding my own layers. The client requested that this Application should always open with a specified extent. I tried this code in the OnStartup event: &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.ZoomTo(new Envelope(27.0035540404876, 15.2397874917475, 56.8697829519645, 31.6822644786311), 800000);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; but id did nothing. If I place this code insite the dock window it works fine, but the problem is that I can't do this because I can't be sure that onStartup of the application the dock window will be open. Is there a way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 06:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/how-to-set-a-specific-extent-at-startup/m-p/703965#M4394</guid>
      <dc:creator>HassanMokdad</dc:creator>
      <dc:date>2012-01-19T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a specific extent at startup</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/how-to-set-a-specific-extent-at-startup/m-p/703966#M4395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could save a map to the extent that you want. When you reopen the map it will be set to this extent automatically for you. This works ok until you or someone saves the map again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To overcome this you could use the Application Configuration Manager and point the configuration to your map and remove the ability to save. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 18:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/how-to-set-a-specific-extent-at-startup/m-p/703966#M4395</guid>
      <dc:creator>EdanCain</dc:creator>
      <dc:date>2012-02-01T18:42:47Z</dc:date>
    </item>
  </channel>
</rss>

