Graphics.Flush Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.
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. |
- Source:
- Graphics.cs
- 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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
- Source:
- Graphics.cs
- 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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: