Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer Class Reference

#include "SideBySidePdfComparer.h"

Public Member Functions

 SideBySidePdfComparer ()=delete
 

Static Public Member Functions

static ASPOSE_PDF_SHARED_API void Compare (System::SharedPtr< Page > page1, System::SharedPtr< Page > page2, System::String targetPdfPath, System::SharedPtr< SideBySideComparisonOptions > options)
 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. More...
 
static ASPOSE_PDF_SHARED_API void Compare (System::SharedPtr< Document > document1, System::SharedPtr< Document > document2, System::String targetPdfPath, System::SharedPtr< SideBySideComparisonOptions > options)
 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. More...
 

Constructor & Destructor Documentation

◆ SideBySidePdfComparer()

Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer::SideBySidePdfComparer ( )
delete

Member Function Documentation

◆ Compare() [1/2]

static ASPOSE_PDF_SHARED_API void Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer::Compare ( System::SharedPtr< Page page1,
System::SharedPtr< Page page2,
System::String  targetPdfPath,
System::SharedPtr< SideBySideComparisonOptions options 
)
static

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.

Parameters
page1The first page to compare.
page2The first page to compare.
targetPdfPathThe path to PDF-file to save a comparison result.
optionsThe comparison options.

◆ Compare() [2/2]

static ASPOSE_PDF_SHARED_API void Aspose::Pdf::Comparison::SideBySideComparison::SideBySidePdfComparer::Compare ( System::SharedPtr< Document document1,
System::SharedPtr< Document document2,
System::String  targetPdfPath,
System::SharedPtr< SideBySideComparisonOptions options 
)
static

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.

Parameters
document1The first document to compare.
document2The second document to compare.
targetPdfPathThe path to PDF-file to save a comparison result.
optionsThe comparison options.