ArcObjects Library Reference (Controls)  

IEngineEditSketch.RefreshSketch Method

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

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

Product Availability

Available with ArcGIS Engine.

Description

Call RefreshSketch to invalidate the portion of the display that is occupied by the sketch. Sometimes, however, 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 since old data may still be erroneously displayed outside of the new sketch geometry.

Remarks

This method fires the IEngineEditEvents::OnAfterDrawSketch event.

See Also

IEngineEditSketch Interface