Condividi tramite


PrintTask.Previewing Evento

Definizione

Generato quando il sistema di stampa inizializza la modalità anteprima di stampa.

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

Tipo evento

Si applica a