Udostępnij za pośrednictwem


PrintWorkflowJobBackgroundSession.PdlModificationRequested Event

Definition

Raised when a document is sent to the print stack and Windows starts to convert the document to the page description language (PDL) format indicated by the printer. Your print workflow app can use members of the event args object to modify the conversion to the page description language (PDL) format indicated by the printer.

// Register
event_token PdlModificationRequested(TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void PdlModificationRequested(event_token const* cookie) const;

// Revoke with event_revoker
PrintWorkflowJobBackgroundSession::PdlModificationRequested_revoker PdlModificationRequested(auto_revoke_t, TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowJobBackgroundSession,PrintWorkflowPdlModificationRequestedEventArgs> PdlModificationRequested;
function onPdlModificationRequested(eventArgs) { /* Your code */ }
printWorkflowJobBackgroundSession.addEventListener("pdlmodificationrequested", onPdlModificationRequested);
printWorkflowJobBackgroundSession.removeEventListener("pdlmodificationrequested", onPdlModificationRequested);
- or -
printWorkflowJobBackgroundSession.onpdlmodificationrequested = onPdlModificationRequested;
Public Custom Event PdlModificationRequested As TypedEventHandler(Of PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs) 

Event Type

Applies to