ArcObjects Library Reference  (Carto)    

IActiveView.Refresh Method

Causes the entire view to draw.

[Visual Basic 6.0]
Sub Refresh
[Visual Basic .NET]
Public Sub Refresh ( _
public void Refresh (
public void refresh (
HRESULT Refresh(

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


IActiveView::Refresh invalidates all of the caches.  This is a very inefficient operation; typically data from just one source has to be reread from the database and the rest can be drawn from cache.  IActiveView::PartialRefresh uses it's knowledge of the cache layout to invalidate as little as possible and should be used whenever possible.

See Also

IActiveView Interface | IActiveView.ScreenCacheID Property | esriViewDrawPhase Constants | IActiveView.PartialRefresh Method | IActiveView.Refresh Method | IScreenDisplay.Invalidate Method