PrintWorkflowJobUISession.PdlDataAvailable 事件

定义

当后台进程在修改页面描述语言 (PDL) 数据时调用打印支持工作流 UI 时引发。

// Register
event_token PdlDataAvailable(TypedEventHandler<PrintWorkflowJobUISession, PrintWorkflowPdlDataAvailableEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowJobUISession::PdlDataAvailable_revoker PdlDataAvailable(auto_revoke_t, TypedEventHandler<PrintWorkflowJobUISession, PrintWorkflowPdlDataAvailableEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowJobUISession,PrintWorkflowPdlDataAvailableEventArgs> PdlDataAvailable;
function onPdlDataAvailable(eventArgs) { /* Your code */ }
printWorkflowJobUISession.addEventListener("pdldataavailable", onPdlDataAvailable);
printWorkflowJobUISession.removeEventListener("pdldataavailable", onPdlDataAvailable);
- or -
printWorkflowJobUISession.onpdldataavailable = onPdlDataAvailable;
Public Custom Event PdlDataAvailable As TypedEventHandler(Of PrintWorkflowJobUISession, PrintWorkflowPdlDataAvailableEventArgs) 

事件类型

适用于