<?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 use IFeatureSelection.SetSelectionSymbol in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508989#M13695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to C# ArcObjects applications. I have a what I am sure is a very simple question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bit of code that selects a line feature. If one opens the attribute table it does in fact show the line as selected; however, it does not show up as selected in the data view. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From VS debugger.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/142872_pastedImage_0.png" /&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowIdentifyObj = (IRowIdentifyObject)featureIdentifyObj;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature = (IFeature)rowIdentifyObj.Row;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSelection = (IFeatureSelection)pipeCenterlineLayer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSelection.Add(feature);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to set the SetSelectionSymbol to true? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:18:09 GMT</pubDate>
    <dc:creator>forestknutsen1</dc:creator>
    <dc:date>2021-12-11T22:18:09Z</dc:date>
    <item>
      <title>How to use IFeatureSelection.SetSelectionSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508989#M13695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to C# ArcObjects applications. I have a what I am sure is a very simple question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bit of code that selects a line feature. If one opens the attribute table it does in fact show the line as selected; however, it does not show up as selected in the data view. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From VS debugger.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/142872_pastedImage_0.png" /&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowIdentifyObj = (IRowIdentifyObject)featureIdentifyObj;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature = (IFeature)rowIdentifyObj.Row;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSelection = (IFeatureSelection)pipeCenterlineLayer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSelection.Add(feature);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to set the SetSelectionSymbol to true? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:18:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508989#M13695</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2021-12-11T22:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use IFeatureSelection.SetSelectionSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508990#M13696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did refresh the display? I would assume that you'd need to make a call to IActiveView.PartialRefresh(ESRI.ArcGIS.Carto.esriViewDrawPhase.esriViewGeoSelection, null, null);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 00:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508990#M13696</guid>
      <dc:creator>FreddieGibson</dc:creator>
      <dc:date>2015-11-14T00:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use IFeatureSelection.SetSelectionSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508991#M13697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it took me a few days to get back to the project. The partial refresh did the trick! Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 17:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-ifeatureselection-setselectionsymbol/m-p/508991#M13697</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2015-11-18T17:26:44Z</dc:date>
    </item>
  </channel>
</rss>

