PrintTask.Progressing 事件

定义

引发此事件是为了提供有关已提交到打印子系统进行打印的打印内容的进度信息。

// Register
event_token Progressing(TypedEventHandler<PrintTask, PrintTaskProgressingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintTask::Progressing_revoker Progressing(auto_revoke_t, TypedEventHandler<PrintTask, PrintTaskProgressingEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintTask,PrintTaskProgressingEventArgs> Progressing;
function onProgressing(eventArgs) { /* Your code */ }
printTask.addEventListener("progressing", onProgressing);
printTask.removeEventListener("progressing", onProgressing);
- or -
printTask.onprogressing = onProgressing;
Public Custom Event Progressing As TypedEventHandler(Of PrintTask, PrintTaskProgressingEventArgs) 

事件类型

适用于