PrintWorkflowVirtualPrinterDataAvailableEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for the PrintWorkflowVirtualPrinterSession.VirtualPrinterDataAvailable event.
public ref class PrintWorkflowVirtualPrinterDataAvailableEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1245184)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintWorkflowVirtualPrinterDataAvailableEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1245184)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintWorkflowVirtualPrinterDataAvailableEventArgs
Public NotInheritable Class PrintWorkflowVirtualPrinterDataAvailableEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
Properties
Configuration |
Gets a PrintWorkflowConfiguration object that contains information about the current virtual print job and session. |
SourceContent |
Gets the source page description language (PDL) content for the current virtual printer job. |
UILauncher |
Gets an object that can show a UI for gathering user input that the virtual print workflow app needs to complete the conversion to the page description language (PDL) format indicated by the printer. |
Methods
CompleteJob(PrintWorkflowSubmittedStatus) |
Completes the virtual printer job with the specified status. |
GetJobPrintTicket() |
Gets the XML PrintTicket document for the current virtual print job. The PrintTicket document contains instructions on how the printer should set its various features for a printing task. |
GetPdlConverter(PrintWorkflowPdlConversionType) |
Gets the page description language (PDL) converter for the specified conversion type for the virtual print job. |
GetTargetFileAsync() |
Gets a StorageFile representing the target file for the virtual print job. |