<?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: Load only one state from a MXD file in arcobjects in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117875#M3083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Patrick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first thing you will need to do is turn off (set the ILayer.Visible = false) all the irrelevant layers in the mentioned mxd (if there are any).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, you need to apply a query defintion on the states layer, to make it display only the 2 mentioned states and hide the rest. That can be accomplished using the IFeatureLayerDefinition interface.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Sep 2010 11:42:33 GMT</pubDate>
    <dc:creator>MiriRevivo</dc:creator>
    <dc:date>2010-09-14T11:42:33Z</dc:date>
    <item>
      <title>Load only one state from a MXD file in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117874#M3082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right now I load "StreetMap North America.mxd" from ESRI Data Maps 10 for use with arcobjects / arcengine 10 in Visual Studio with C#. Since it's slow I am looking for a way to turn off all data except for data from Minnesota and Wisconsin. What are the main steps to accomplish this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 21:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117874#M3082</guid>
      <dc:creator>PatrickBurke</dc:creator>
      <dc:date>2010-09-13T21:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Load only one state from a MXD file in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117875#M3083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Patrick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first thing you will need to do is turn off (set the ILayer.Visible = false) all the irrelevant layers in the mentioned mxd (if there are any).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, you need to apply a query defintion on the states layer, to make it display only the 2 mentioned states and hide the rest. That can be accomplished using the IFeatureLayerDefinition interface.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 11:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117875#M3083</guid>
      <dc:creator>MiriRevivo</dc:creator>
      <dc:date>2010-09-14T11:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load only one state from a MXD file in arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117876#M3084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since you mentioned this is an ArcGIS Engine application I would just make a copy of the mxd, open it in ArcMap, set the visibility and everything else like you want it, save it, and open this copy in the application.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Sep 2010 12:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/load-only-one-state-from-a-mxd-file-in-arcobjects/m-p/117876#M3084</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-09-14T12:49:49Z</dc:date>
    </item>
  </channel>
</rss>

