Print3DWorkflow.PrintRequested Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque l’utilisateur lance l’impression.
// Register
event_token PrintRequested(TypedEventHandler<Print3DWorkflow, Print3DWorkflowPrintRequestedEventArgs const&> const& handler) const;
// Revoke with event_token
void PrintRequested(event_token const* cookie) const;
// Revoke with event_revoker
Print3DWorkflow::PrintRequested_revoker PrintRequested(auto_revoke_t, TypedEventHandler<Print3DWorkflow, Print3DWorkflowPrintRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DWorkflow,Print3DWorkflowPrintRequestedEventArgs> PrintRequested;
function onPrintRequested(eventArgs) { /* Your code */ }
print3DWorkflow.addEventListener("printrequested", onPrintRequested);
print3DWorkflow.removeEventListener("printrequested", onPrintRequested);
- or -
print3DWorkflow.onprintrequested = onPrintRequested;
Public Custom Event PrintRequested As TypedEventHandler(Of Print3DWorkflow, Print3DWorkflowPrintRequestedEventArgs)