/// <summary> /// Draw feture (Paolo, march 2007) /// </summary> /// <param name="drawPhase"></param> /// <param name="Display"></param> /// <param name="Symbol"></param> /// <param name="symbolInstalled"></param> /// <param name="Geometry"></param> /// <param name="DrawStyle"></param> public void Draw(esriDrawPhase drawPhase, IDisplay Display, ISymbol Symbol, bool symbolInstalled, IGeometry Geometry, esriDrawStyle DrawStyle) { // This if-statement might not be necessary. The proper // filtering may have already occurred before this. //Paolo : remove this filter, without it selection should work /* * if (!(drawPhase == esriDrawPhase.esriDPGeography && DrawStyle == esriDrawStyle.esriDSNormal)) return; */ if (Shape == null) { return; } Display.SetSymbol(Symbol); postGisFeatureClass.layerHelper.draw(Display, Shape); }
/// <summary> /// Draw feture (Paolo, march 2007) /// </summary> /// <param name="drawPhase"></param> /// <param name="Display"></param> /// <param name="Symbol"></param> /// <param name="symbolInstalled"></param> /// <param name="Geometry"></param> /// <param name="DrawStyle"></param> public void Draw(esriDrawPhase drawPhase, IDisplay Display, ISymbol Symbol, bool symbolInstalled, IGeometry Geometry, esriDrawStyle DrawStyle) { // This if-statement might not be necessary. The proper // filtering may have already occurred before this. //Paolo : remove this filter, without it selection should work /* if (!(drawPhase == esriDrawPhase.esriDPGeography && DrawStyle == esriDrawStyle.esriDSNormal)) return; */ if (Shape == null) return; Display.SetSymbol(Symbol); postGisFeatureClass.layerHelper.draw(Display, Shape); }