SideBySidePdfComparer

SideBySidePdfComparer

Overview

SideBySidePdfComparer is a class in Aspose.PDF FOSS for .NET.

Compares the text of two pages or documents and produces a result PDF that shows both versions side by side with the changes highlighted (deletions on the left page, insertions on the right).

This class provides 4 methods for working with SideBySidePdfComparer objects in .NET programs. Available methods include: Compare. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
Compare(page1: Page, page2: Page, targetPdfPath: string, options: SideBySideComparisonOptions)Compare two pages and write the side-by-side result to a file.
Compare(page1: Page, page2: Page, targetStream: Stream, options: SideBySideComparisonOptions)Compare two pages and write the side-by-side result to a stream.
Compare(document1: Document, document2: Document, targetPdfPath: string, options: SideBySideComparisonOptions)Compare two documents page by page and write the side-by-side result to a file.
Compare(document1: Document, document2: Document, targetStream: Stream, options: SideBySideComparisonOptions)Compare two documents page by page and write the side-by-side result to a stream.