Share via


PrintWorkflowSourceContent Class

Definition

Represents raw print data from the source application.

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
Inheritance
Object Platform::Object IInspectable PrintWorkflowSourceContent
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Methods

GetJobPrintTicketAsync()

Gets the print ticket for the printing task associated with this print data.

GetSourceSpoolDataAsStreamContent()

Gets the print data as an XPS data stream.

GetSourceSpoolDataAsXpsObjectModel()

Gets the print data in the form of the COM-friendly XPS object model.

Applies to