TX Sheet Control

MailMergeResult Interface

Interface

A merged document plus diagnostics and the resulting repeated ranges; the original template remains reusable.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
formulaErrorsThe formulaErrors value of MailMergeResult.
repeatRangesThe repeatRanges value of MailMergeResult.
warningsThe warnings value of MailMergeResult.
workbookThe workbook value of MailMergeResult.

Methods

MethodDescription
getValueThe getValue operation of MailMergeResult.

Examples

Pass the MailMergeResult value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { MailMergeResult } from '@txtextcontrol/tx-sheet-control';

function inspectMailMergeResultWorkbook(mailMergeResult: MailMergeResult) {
    const value = mailMergeResult['workbook'];
    console.log('MailMergeResult.workbook', value);
}

See Also