PrintWorkflowSourceContent 类

定义

表示源应用程序中的原始打印数据。

public ref class PrintWorkflowSourceContent sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintWorkflowSourceContent final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintWorkflowSourceContent
Public NotInheritable Class PrintWorkflowSourceContent
继承
Object Platform::Object IInspectable PrintWorkflowSourceContent
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

方法

GetJobPrintTicketAsync()

获取与此打印数据关联的打印任务的打印票证。

GetSourceSpoolDataAsStreamContent()

获取作为 XPS 数据流的打印数据。

GetSourceSpoolDataAsXpsObjectModel()

获取 COM 友好 XPS 对象模型形式的打印数据。

适用于