Skip to main content

CompareDocuments

Compares the current document with another document opened via builderJS.OpenTmpFile. Tracked changes between the two documents are produced in the current document.

Syntax

expression.CompareDocuments(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.