共用方式為


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) 

事件類型

適用於