Delen via


PrintDocument.Paginate Event

Definition

Occurs when the PrintManager requests the collection of print pages to be shown in the preview window.

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 

Event Type

Applies to

See also