ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler 委托

定义

用于为事件添加事件处理程序的MailMergeBeforeRecordMerge委托类型。 MailMergeBeforeRecordMerge 事件发生在对合并中的单个记录执行合并时。

public delegate void ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler(Document ^ Doc, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler(Document Doc, out bool Cancel);
type ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler = delegate of Document * bool -> unit
Public Delegate Sub ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler(Doc As Document, ByRef Cancel As Boolean)

参数

Doc
Document

邮件合并主文档。

Cancel
Boolean

如果为 True ,则仅在当前记录开始之前停止邮件合并过程。

属性

适用于