ApplicationEvents4_DocumentBeforePrintEventHandler 代理人

定義

イベントのイベント ハンドラーDocumentBeforePrintを追加するために使用されるデリゲート型。 DocumentBeforePrint イベントは、開いているドキュメントが印刷される前に発生します。

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)

パラメーター

Doc
Document

印刷される文書です。

Cancel
Boolean

False イベントが発生します。 イベント プロシージャでこの引数に True を設定する場合、プロシージャが終了すると、ドキュメントは印刷されません。

属性

適用対象