PrintWorkflowForegroundSession.SetupRequested Ereignis

Definition

Wird zuerst in der Vordergrundsitzung des Druckworkflows ausgelöst. Dieses Ereignis macht Informationen zum Druckauftrag verfügbar, aber nicht zum Druckinhalt selbst. Registrieren Sie sich für dieses Ereignis, um benutzeroberflächenabhängige Arbeit am Druckauftrag vor dem Drucken auszuführen.

// Register
event_token SetupRequested(TypedEventHandler<PrintWorkflowForegroundSession, PrintWorkflowForegroundSetupRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowForegroundSession::SetupRequested_revoker SetupRequested(auto_revoke_t, TypedEventHandler<PrintWorkflowForegroundSession, PrintWorkflowForegroundSetupRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowForegroundSession,PrintWorkflowForegroundSetupRequestedEventArgs> SetupRequested;
function onSetupRequested(eventArgs) { /* Your code */ }
printWorkflowForegroundSession.addEventListener("setuprequested", onSetupRequested);
printWorkflowForegroundSession.removeEventListener("setuprequested", onSetupRequested);
- or -
printWorkflowForegroundSession.onsetuprequested = onSetupRequested;
Public Custom Event SetupRequested As TypedEventHandler(Of PrintWorkflowForegroundSession, PrintWorkflowForegroundSetupRequestedEventArgs) 

Ereignistyp

Gilt für: