Compartir a través de


PrintTask.Previewing Evento

Definición

Se genera cuando el sistema de impresión inicializa el modo de vista previa de impresión.

// 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 de evento

Se aplica a