Compartilhar via


ApplicationEvents4_DocumentBeforePrintEventHandler Delegar

Definição

Um tipo delegado usado para adicionar um manipulador de eventos para o DocumentBeforePrint evento. O evento DocumentBeforePrint ocorre antes de qualquer documento aberto ser impresso.

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)

Parâmetros

Doc
Document

O documento que está sendo impresso.

Cancel
Boolean

False quando o evento ocorre. Se o procedimento de evento define este argumento como True, o documento não é impresso quando o procedimento for concluído.

Atributos

Aplica-se a