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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.