PdlPassthroughTarget 類別

定義

表示列印工作 PDL 傳遞資料流程。

public ref class PdlPassthroughTarget sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PdlPassthroughTarget final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PdlPassthroughTarget : System.IDisposable
Public NotInheritable Class PdlPassthroughTarget
Implements IDisposable
繼承
Object Platform::Object IInspectable PdlPassthroughTarget
屬性
實作

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

屬性

PrintJobId

取得目前列印工作的列印多工緩衝處理器作業識別碼。

方法

Close()

關閉資料流程。 呼叫Submit之前,請先呼叫Close

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

GetOutputStream()

擷取輸出資料流程,這會傳遞至印表機。

Submit()

表示 PDL 資料流程已完成。 在呼叫Submit之前呼叫Close,否則列印工作將會失敗。

適用於