Graphics.Flush Method (FlushIntention)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

member Flush : 
        intention:FlushIntention -> unit

Parameters

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
Show: