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

IInvalidArea Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > II > IInvalidArea Interface
ArcGIS Developer Help

IInvalidArea Interface

Provides access to members that modify an invalidated area object.

Product Availability

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

When To Use

To avoid graphical artifacts on the screen, instead of invalidating (refreshing) the entire display each time the rendered objects change, use this interface to create a collection of objects whose envelopes can be invalidated with one call. For example, when rotating features, use Add to add the selected features to the collection, perform the rotate operation, then call Invalidate . The same objects can be added again after the operation so that the new region is also invalidated. In summary, call Invalidate once at the end of an operation to refresh the screen within the envelopes bounding the objects that were added using the Add method.


Name Description
Method Add Add IFeature, IGeometry, ISet, or IEnumFeature.
Read/write property Display The display that will be invalidated.
Method Invalidate Invalidate the display.

Classes that implement IInvalidArea

Classes Description
InvalidArea (esriCarto) Accumulates a region from multiple objects and invalidates this area on the display.