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

IEditSketch.RefreshSketch Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketch Interface > IEditSketch.RefreshSketch Method
ArcGIS Developer Help

IEditSketch.RefreshSketch Method

Invalidates the portion of the display that is occupied by the sketch.

[Visual Basic .NET]
Public Sub RefreshSketch ( _
public void RefreshSketch (

Product Availability

Available with ArcGIS Desktop.


Refreshes only the portion of the screen falling within the edit sketch's slightly expanded envelope (IGeometry::Envelope).


Sometimes it may be necessary to invalidate a larger portion of the display in order to get rid of unwanted artifacts. This situation can arise when you shorten the length of a segment for example. Since the new geometry is shorter and calling RefreshSketch only refreshes the area within the envelope of the geometry, old data may still be erroneously displayed outside of this boundary. See the documentation for the InvalidArea object for more details.

See Also

IEditSketch Interface