compare method

compare(document, author, dateTime)

Compares this document with another document producing changes as number of edit and format revisions Revision.

compare(document: Aspose.Words.Document, author: string, dateTime: Date)
ParameterTypeDescription
documentDocumentDocument to compare.
authorstringInitials of the author to use for revisions.
dateTimeDateThe date and time to use for revisions.

Remarks

NOTE

Documents must not have revisions before comparison.

compare(document, author, dateTime, options)

Compares this document with another document producing changes as a number of edit and format revisions Revision. Allows to specify comparison options using CompareOptions.

compare(document: Aspose.Words.Document, author: string, dateTime: Date, options: Aspose.Words.Comparing.CompareOptions)
ParameterTypeDescription
documentDocument
authorstring
dateTimeDate
optionsCompareOptions

See Also