Partager via


PrintTask.Previewing Événement

Définition

Déclenché lorsque le système d’impression initialise le mode d’aperçu avant impression.

// Register
event_token Previewing(TypedEventHandler<PrintTask, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
PrintTask::Previewing_revoker Previewing(auto_revoke_t, TypedEventHandler<PrintTask, IInspectable const&> const& handler) const;
public event TypedEventHandler<PrintTask,object> Previewing;
function onPreviewing(eventArgs) { /* Your code */ }
printTask.addEventListener("previewing", onPreviewing);
printTask.removeEventListener("previewing", onPreviewing);
- or -
printTask.onpreviewing = onPreviewing;
Public Custom Event Previewing As TypedEventHandler(Of PrintTask, Object) 

Type d'événement

S’applique à