Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments method
Contents
[
Hide
]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)
Parameter | Type | Description |
---|---|---|
document1 | System::SharedPtr<Document> | First document. |
document2 | System::SharedPtr<Document> | Second document. |
options | System::SharedPtr<ComparisonOptions> | Comparison options. |
ReturnValue
List of changes.
See Also
- Class DiffOperation
- Class Document
- Class ComparisonOptions
- Class TextPdfComparer
- Namespace Aspose::Pdf::Comparison
- Library Aspose.PDF for C++
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)
Parameter | Type | Description |
---|---|---|
document1 | System::SharedPtr<Document> | First document. |
document2 | System::SharedPtr<Document> | Second document. |
options | System::SharedPtr<ComparisonOptions> | Comparison options. |
resultPdfDocumentPath | System::String | Path to the pdf file to save the comparison results. |
ReturnValue
List of changes.
See Also
- Class DiffOperation
- Class Document
- Class ComparisonOptions
- Class TextPdfComparer
- Namespace Aspose::Pdf::Comparison
- Library Aspose.PDF for C++