Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments method

TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&) method

Compares two documents page by page. The documents are compared as a whole. Before comparing text, the texts of document pages are combined into one text.

static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document> &document1, const System::SharedPtr<Document> &document2, const System::SharedPtr<ComparisonOptions> &options)
ParameterTypeDescription
document1const System::SharedPtr<Document>&First document.
document2const System::SharedPtr<Document>&Second document.
optionsconst System::SharedPtr<ComparisonOptions>&Comparison options.

ReturnValue

List of changes.

See Also

TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&) method

Compares two documents page by page. The result is saved in a PDF file. The documents are compared as a whole. Before comparing text, the texts of document pages are combined into one text.

static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document> &document1, const System::SharedPtr<Document> &document2, const System::SharedPtr<ComparisonOptions> &options, const System::String &resultPdfDocumentPath)
ParameterTypeDescription
document1const System::SharedPtr<Document>&First document.
document2const System::SharedPtr<Document>&Second document.
optionsconst System::SharedPtr<ComparisonOptions>&Comparison options.
resultPdfDocumentPathconst System::String&Path to the pdf file to save the comparison results.

ReturnValue

List of changes.

See Also