Skip to main content

MergeDocuments

Merges the current document with another document opened via builderJS.OpenTmpFile. Its contents are merged into the current document.

Syntax

expression.MergeDocuments(file);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
fileRequiredobjectThe second document, returned by builderJS.OpenTmpFile.

Returns

This method doesn't return any data.