AnsweredAssumed Answered

How to use IFeatureSelection.SetSelectionSymbol

Question asked by fallingdog on Nov 13, 2015
Latest reply on Nov 18, 2015 by fallingdog

I am new to C# ArcObjects applications. I have a what I am sure is a very simple question.

 

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.

 

From VS debugger.

              rowIdentifyObj = (IRowIdentifyObject)featureIdentifyObj;
              feature = (IFeature)rowIdentifyObj.Row;
              iSelection = (IFeatureSelection)pipeCenterlineLayer;
              iSelection.Add(feature);

 

Do I need to set the SetSelectionSymbol to true?

 

Thanks for any help.

Outcomes