PrintWorkflowJobBackgroundSession.PdlModificationRequested Événement

Définition

Déclenché lorsqu’un document est envoyé à la pile d’impression et que Windows commence à convertir le document au format PDL (Page Description Language) indiqué par l’imprimante. Votre application de flux de travail d’impression peut utiliser les membres de l’objet event args pour modifier la conversion au format PDL (Page Description Language) indiqué par l’imprimante.

// 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) 

Type d'événement

S’applique à