ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler Delegate

Definition

A Delegate type used to add an event handler for the MailMergeBeforeRecordMerge event. The MailMergeBeforeRecordMerge event occurs as a merge is executed for the individual records in a merge.

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)

Parameters

Doc
Document

The mail merge main document.

Cancel
Boolean

True stops the mail merge process for the current record only before it starts.

Attributes

Applies to