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

TextPdfComparer::CompareFlatDocuments(System::SharedPtr<Document>, System::SharedPtr<Document>, 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<Diff::DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::SharedPtr<ComparisonOptions> options)
ParameterTypeDescription
document1System::SharedPtr<Document>First document.
document2System::SharedPtr<Document>Second document.
optionsSystem::SharedPtr<ComparisonOptions>Comparison options.

ReturnValue

List of changes.

See Also

TextPdfComparer::CompareFlatDocuments(System::SharedPtr<Document>, System::SharedPtr<Document>, System::SharedPtr<ComparisonOptions>, 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<Diff::DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::SharedPtr<ComparisonOptions> options, System::String resultPdfDocumentPath)
ParameterTypeDescription
document1System::SharedPtr<Document>First document.
document2System::SharedPtr<Document>Second document.
optionsSystem::SharedPtr<ComparisonOptions>Comparison options.
resultPdfDocumentPathSystem::StringPath to the pdf file to save the comparison results.

ReturnValue

List of changes.

See Also