Graphics.Flush 方法

定義

強制執行所有暫止圖形作業,並立即傳回而不等待作業完成。

多載

Flush()

強制執行所有暫止圖形作業,並立即傳回而不等待作業完成。

Flush(FlushIntention)

使用在作業完成之前依照指定等待或不等待傳回的方法,來強制執行所有暫止圖形作業。

Flush()

來源:
Graphics.cs
來源:
Graphics.cs
來源:
Graphics.cs

強制執行所有暫止圖形作業,並立即傳回而不等待作業完成。

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

備註

這個方法會啟動排清並立即傳回,而不需要等待目前正在執行的任何圖形作業完成。

適用於

Flush(FlushIntention)

來源:
Graphics.cs
來源:
Graphics.cs
來源:
Graphics.cs

使用在作業完成之前依照指定等待或不等待傳回的方法,來強制執行所有暫止圖形作業。

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)

參數

intention
FlushIntention

FlushIntention 列舉的成員,指定方法是否立即傳回或等待任何現有作業完成。

備註

參數intention的 值Flush會指定 方法在開始排清之後立即傳回,而的值Sync則指定方法在傳回之前等待,直到任何現有的作業完成為止。

適用於