PrintWorkflowJobBackgroundSession.PdlModificationRequested 事件

定义

将文档发送到打印堆栈并且 Windows 开始将文档转换为页面说明语言 (PDL) 打印机指示的格式时引发。 打印工作流应用可以使用事件参数对象的成员来修改转换为页面说明语言 (PDL) 打印机指示的格式。

// Register
event_token PdlModificationRequested(TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintWorkflowJobBackgroundSession::PdlModificationRequested_revoker PdlModificationRequested(auto_revoke_t, TypedEventHandler<PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintWorkflowJobBackgroundSession,PrintWorkflowPdlModificationRequestedEventArgs> PdlModificationRequested;
function onPdlModificationRequested(eventArgs) { /* Your code */ }
printWorkflowJobBackgroundSession.addEventListener("pdlmodificationrequested", onPdlModificationRequested);
printWorkflowJobBackgroundSession.removeEventListener("pdlmodificationrequested", onPdlModificationRequested);
- or -
printWorkflowJobBackgroundSession.onpdlmodificationrequested = onPdlModificationRequested;
Public Custom Event PdlModificationRequested As TypedEventHandler(Of PrintWorkflowJobBackgroundSession, PrintWorkflowPdlModificationRequestedEventArgs) 

事件类型

适用于