Graphics::Flush Method (FlushIntention)


Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.

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

void Flush(
	FlushIntention intention


Type: System.Drawing.Drawing2D::FlushIntention

Member of the FlushIntention enumeration that specifies whether the method returns immediately or waits for any existing operations to finish.

A value of Flush for the intention parameter specifies that the method return immediately after beginning the flush, while a value of Sync specifies that the method wait before returning until any existing operations finish.

.NET Framework
Available since 1.1
Return to top