Compartir a través de


PrintWorkflowVirtualPrinterSession.VirtualPrinterDataAvailable Evento

Definición

// Register
event_token VirtualPrinterDataAvailable(TypedEventHandler<PrintWorkflowVirtualPrinterSession, PrintWorkflowVirtualPrinterDataAvailableEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowVirtualPrinterSession::VirtualPrinterDataAvailable_revoker VirtualPrinterDataAvailable(auto_revoke_t, TypedEventHandler<PrintWorkflowVirtualPrinterSession, PrintWorkflowVirtualPrinterDataAvailableEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowVirtualPrinterSession,PrintWorkflowVirtualPrinterDataAvailableEventArgs> VirtualPrinterDataAvailable;
function onVirtualPrinterDataAvailable(eventArgs) { /* Your code */ }
printWorkflowVirtualPrinterSession.addEventListener("virtualprinterdataavailable", onVirtualPrinterDataAvailable);
printWorkflowVirtualPrinterSession.removeEventListener("virtualprinterdataavailable", onVirtualPrinterDataAvailable);
- or -
printWorkflowVirtualPrinterSession.onvirtualprinterdataavailable = onVirtualPrinterDataAvailable;
Public Custom Event VirtualPrinterDataAvailable As TypedEventHandler(Of PrintWorkflowVirtualPrinterSession, PrintWorkflowVirtualPrinterDataAvailableEventArgs) 

Tipo de evento

Se aplica a