PrintDocument.Paginate Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque printManager demande l’affichage de la collection de pages d’impression dans la fenêtre d’aperçu.
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
Type d'événement
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour