SideBySidePdfComparer.Compare

Compare(Page, Page, string, SideBySideComparisonOptions)

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.

public static void Compare(Page page1, Page page2, string targetPdfPath, 
    SideBySideComparisonOptions options)
ParameterTypeDescription
page1PageThe first page to compare.
page2PageThe first page to compare.
targetPdfPathStringThe path to PDF-file to save a comparison result.
optionsSideBySideComparisonOptionsThe comparison options.

See Also


Compare(Document, Document, string, SideBySideComparisonOptions)

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.

public static void Compare(Document document1, Document document2, string targetPdfPath, 
    SideBySideComparisonOptions options)
ParameterTypeDescription
document1DocumentThe first document to compare.
document2DocumentThe second document to compare.
targetPdfPathStringThe path to PDF-file to save a comparison result.
optionsSideBySideComparisonOptionsThe comparison options.

See Also