PrintDocument.Paginate 事件

定义

PrintManager 请求打印页集合显示在预览窗口中时发生。

public:
 virtual event PaginateEventHandler ^ Paginate;
// Register
event_token Paginate(PaginateEventHandler const& handler) const;

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

// Revoke with event_revoker
PrintDocument::Paginate_revoker Paginate(auto_revoke_t, PaginateEventHandler const& handler) const;
public event PaginateEventHandler Paginate;
function onPaginate(eventArgs) { /* Your code */ }
printDocument.addEventListener("paginate", onPaginate);
printDocument.removeEventListener("paginate", onPaginate);
- or -
printDocument.onpaginate = onPaginate;
Public Custom Event Paginate As PaginateEventHandler 

事件类型

适用于

另请参阅