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


IEditSketch.RefreshSketch Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Editor)  

IEditSketch.RefreshSketch Method

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

[Visual Basic .NET]
Public Sub RefreshSketch ( _
)
[C#]
public void RefreshSketch (
);

Product Availability

Available with ArcGIS Desktop.

Description

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

Remarks

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