Shape.Invalidate Method ()


Invalidates a specific region of a line or shape control and causes a paint message to be sent to the control.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

public virtual void Invalidate()

Calling the Invalidate method does not force a synchronous paint; to force a synchronous paint, call the Update method after you call the Invalidate method.

Return to top