Jaa


PrintWorkflowVirtualPrinterSession Class

Definition

Represents a virtual printer session.

public ref class PrintWorkflowVirtualPrinterSession sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintWorkflowVirtualPrinterSession final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintWorkflowVirtualPrinterSession
Public NotInheritable Class PrintWorkflowVirtualPrinterSession
Inheritance
Object Platform::Object IInspectable PrintWorkflowVirtualPrinterSession
Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Remarks

Get an instance of this class by accessing the VirtualPrinterSession property of the PrintWorkflowVirtualPrinterTriggerDetails object passed into the Run method of the background task.

Properties

Printer

Gets an IppPrintDevice object representing the IPP printer associated with the virtual printer session.

Status

Gets a value from the PrintWorkflowSessionStatus enumeration indicating the status of the virtual printer session.

Methods

Start()

Starts raising registered events of the virtual printer session.

Events

VirtualPrinterDataAvailable

Raised when the page description language (PDL) data is available for modification.

Applies to