ApplicationEvents4_DocumentBeforePrintEventHandler Délégué
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.
Type délégué utilisé pour ajouter un gestionnaire d’événements pour l' DocumentBeforePrint événement. L’événement DocumentBeforePrint se produit avant l’impression d’un document ouvert.
public delegate void ApplicationEvents4_DocumentBeforePrintEventHandler(Document ^ Doc, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_DocumentBeforePrintEventHandler(Document Doc, out bool Cancel);
type ApplicationEvents4_DocumentBeforePrintEventHandler = delegate of Document * bool -> unit
Public Delegate Sub ApplicationEvents4_DocumentBeforePrintEventHandler(Doc As Document, ByRef Cancel As Boolean)
Paramètres
- Doc
- Document
Document en cours d'impression.
- Cancel
- Boolean
False lorsque l'événement se produit. Si la procédure événementielle affecte à cet argument la valeur True, le document n'est pas imprimé à la fin de la procédure.
- Attributs