Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer::Compare method

SideBySidePdfComparer::Compare(System::SharedPtr<Document>, System::SharedPtr<Document>, System::String, System::SharedPtr<SideBySideComparisonOptions>) method

Compares two documents. The pages are compared one by one. The pages of the compared documents are copied one after another into the resulting document. First the first page from the first document, then the first page from the second document. Next is the second one from the first document and then the second one from the second document, etc. You can open it in Adobe Acrobat in Two-page view to see the changes side by side. Deletions are noted on the page on the left, and insertions are noted on the page on the right.

static void Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer::Compare(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::String targetPdfPath, System::SharedPtr<SideBySideComparisonOptions> options)
ParameterTypeDescription
document1System::SharedPtr<Document>The first document to compare.
document2System::SharedPtr<Document>The second document to compare.
targetPdfPathSystem::StringThe path to PDF-file to save a comparison result.
optionsSystem::SharedPtr<SideBySideComparisonOptions>The comparison options.

See Also

SideBySidePdfComparer::Compare(System::SharedPtr<Page>, System::SharedPtr<Page>, System::String, System::SharedPtr<SideBySideComparisonOptions>) method

Compares two pages. The result is saved in a PDF document in which the first page is written first, and then the second. You can open it in Adobe Acrobat in Two-page view to see the changes side by side. Deletions are noted on the page on the left, and insertions are noted on the page on the right.

static void Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer::Compare(System::SharedPtr<Page> page1, System::SharedPtr<Page> page2, System::String targetPdfPath, System::SharedPtr<SideBySideComparisonOptions> options)
ParameterTypeDescription
page1System::SharedPtr<Page>The first page to compare.
page2System::SharedPtr<Page>The first page to compare.
targetPdfPathSystem::StringThe path to PDF-file to save a comparison result.
optionsSystem::SharedPtr<SideBySideComparisonOptions>The comparison options.

See Also