I have a problem you want help:
In ArcMap 10.2.2
In my code I want to highlight selections but I can't.
My code:
void drawPoint(IFeature pfeature) { IRgbColor rgbColor = new RgbColorClass(); rgbColor.Red = 255; rgbColor.Blue = 0; rgbColor.Green = 0; IMarkerSymbol simpleMarkerSymbol = new SimpleMarkerSymbol(); simpleMarkerSymbol.Color = rgbColor;// color RED simpleMarkerSymbol.Size = 15; IMarkerElement markerElement = null; markerElement = new MarkerElementClass(); markerElement.Symbol = simpleMarkerSymbol; IGraphicsContainer graphicsContainer = GeneralVariableMap.mapControl.Map as IGraphicsContainer; IElement element = null; element = (IElement)markerElement; element.Geometry = pfeature.Shape; graphicsContainer.AddElement(element, 0); } 
