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


IScreenDisplay2.Invalidate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay2 Interface > IScreenDisplay2.Invalidate Method
ArcGIS Developer Help

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 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