internal void FlashPoint(ProfileSettingsPointButtonEnum pointType) { EsriTools.PanToGeometry(View.ActiveView, pointsToShow[pointType]); EsriTools.FlashGeometry(View.ActiveView.ScreenDisplay, new IGeometry[] { pointsToShow[pointType] }); // View.ActiveView.Refresh(); }
internal void FlashPoint(ProfileSettingsPointButtonEnum pointType) { IEnvelope env = new EnvelopeClass(); env = View.ActiveView.Extent; env.CenterAt(pointsToShow[pointType]); View.ActiveView.Extent = env; View.ActiveView.Refresh(); EsriTools.FlashGeometry(View.ActiveView.ScreenDisplay, pointsToShow[pointType]); View.ActiveView.Refresh(); }