PrintDocument.GetPreviewPage PrintDocument.GetPreviewPage PrintDocument.GetPreviewPage PrintDocument.GetPreviewPage Event

Definition

Occurs when the PrintManager requests a particular print page to be shown in the preview window.

public : event GetPreviewPageEventHandler GetPreviewPage
// Register
event_token GetPreviewPage(GetPreviewPageEventHandler const& handler) const;

// Revoke with event_token
void GetPreviewPage(event_token const& cookie) const;

// Revoke with event_revoker
GetPreviewPage_revoker GetPreviewPage(auto_revoke_t, GetPreviewPageEventHandler const& handler) const;
public event GetPreviewPageEventHandler GetPreviewPage
Public Event GetPreviewPage As GetPreviewPageEventHandler

Remarks

In the handler for this event, call SetPreviewPage to set the requested page as the current print preview page.

See also