BufferedGraphicsContext::Invalidate Method ()

 

Disposes of the current graphics buffer, if a buffer has been allocated and has not yet been disposed.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
void Invalidate()

If the graphics buffer is in use, it will be marked for disposal as soon as it is free; otherwise, it will be disposed immediately.

.NET Framework
Available since 2.0
Return to top
Show: