Any time you call PartialRefresh you must call it twice. You must call it once before you do whatever will need refreshing and you must call it once after you do it.
Hi friends,I am new to the arc object and the engine. Using 'IMapControlDefault.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeoSelection, null, null);' or 'IMapControlDefault.Refresh(esriViewDrawPhase.esriViewGeoSelection, null, null);' does not work at all. using 'IMapControlDefault.Refresh();' or 'IMapControlDefault.ActiveView.Refresh();' instead will work. I have searched informations on the esri help document,but it seems none suit or can explain why.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.