Edit

Share via


Graphics.Flush Method

Definition

Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

Overloads

Flush()

Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

Flush(FlushIntention)

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

Flush()

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

public:
 void Flush();
public void Flush ();
member this.Flush : unit -> unit
Public Sub Flush ()

Remarks

This method starts a flush and returns immediately without waiting for any currently executing graphics operation to finish.

Applies to

Flush(FlushIntention)

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

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

public:
 void Flush(System::Drawing::Drawing2D::FlushIntention intention);
public void Flush (System.Drawing.Drawing2D.FlushIntention intention);
member this.Flush : System.Drawing.Drawing2D.FlushIntention -> unit
Public Sub Flush (intention As FlushIntention)

Parameters

intention
FlushIntention

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

Remarks

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.

Applies to