MailMergeAndSaveAsCommand.execute(filePath) Method

Executes the MailMergeAndSaveAsCommand command with the specified parameters.

Declaration

execute(
    filePath: string | RichEditFileInfo,
    settings?: MailMergeSettings
): boolean

Parameters

Name Type Description
filePath string | RichEditFileInfo

The path to a saved file, or an object that contains the saved file information.

settings MailMergeSettings

An object that contains settings to set up the mail merge operation.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

See Also