Share via


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

現在の印刷ジョブの印刷スプーラー ジョブ ID を取得します。

メソッド

Close()

ストリームを閉じます。 Submit を呼び出す前に Close を呼び出 します

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

GetOutputStream()

プリンターに渡される出力ストリームを取得します。

Submit()

PDL ストリームが終了したことを示します。 Submit を呼び出す前に Close を呼び出します。それ以外の場合、印刷ジョブは失敗します。

適用対象