This document is archived and information here might be outdated.  Recommended version.


IScreenDisplay2.Invalidate Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay2.Invalidate Method

Cause the specified area of the specified cache to redraw.

[Visual Basic .NET]
Public Sub Invalidate ( _
    ByVal rect As IEnvelope, _
    ByVal erase As Boolean, _
    ByVal cacheIndex As Short _
)
[C#]
public void Invalidate (
    IEnvelope rect,
    bool erase,
    short cacheIndex
);
[C++]
HRESULT Invalidate(
  IEnvelope* rect,
  VARIANT_BOOL erase,
  short cacheIndex
);
[C++]

Parameters rect [in]
rect is a parameter of type IEnvelope erase [in] erase is a parameter of type VARIANT_BOOL cacheIndex [in] cacheIndex is a parameter of type short

Product Availability

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

See Also

IScreenDisplay2 Interface