<?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 I can get SelectedLayer and document of axMapControl? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413378#M11112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;c#+.NET+arcgis Engine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much! But how I can get SelectedLayer from the TOCContol? I am giving my way to despair!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PS.&amp;nbsp; I find SelectedLayer in the next way &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; axTOCControl1.GetSelectedItem(ref item, ref map, ref layer2, ref other, ref index);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the main problem is - how to define the selected object of the layer , when I click on the corresponding symbol?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2011 04:40:15 GMT</pubDate>
    <dc:creator>AnatoliiTerentiev</dc:creator>
    <dc:date>2011-03-03T04:40:15Z</dc:date>
    <item>
      <title>How I can get SelectedLayer and document of axMapControl?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413376#M11110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;arcgisEngine+c#+.NET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How I can get SelectedLayer property on axMapContrlol?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And how I can get document of the axMapControl?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 11:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413376#M11110</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2011-03-02T11:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: How I can get SelectedLayer and document of axMapControl?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413377#M11111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The MapControl doesn't have a document, only a map.&amp;nbsp; You can load it using an mxd but it's not the document that loads, just the layers in the map.&amp;nbsp; The selected layer is a property of the TocControl, not the MapControl.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 12:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413377#M11111</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-03-02T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How I can get SelectedLayer and document of axMapControl?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413378#M11112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;c#+.NET+arcgis Engine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much! But how I can get SelectedLayer from the TOCContol? I am giving my way to despair!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PS.&amp;nbsp; I find SelectedLayer in the next way &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; axTOCControl1.GetSelectedItem(ref item, ref map, ref layer2, ref other, ref index);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the main problem is - how to define the selected object of the layer , when I click on the corresponding symbol?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 04:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-i-can-get-selectedlayer-and-document-of/m-p/413378#M11112</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2011-03-03T04:40:15Z</dc:date>
    </item>
  </channel>
</rss>

