SideBySideComparisonOptions

SideBySideComparisonOptions

Overview

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

Options for SideBySidePdfComparer: whitespace handling, comparison/exclusion areas and the marker colours used in the output document.

Properties: AdditionalChangeMarks, ComparisonArea1, ComparisonArea2, ComparisonMode, DeleteColor, ExcludeAreas1, and 3 more.

Properties

NameTypeAccessDescription
ComparisonModeComparisonModeRead/WriteWhitespace handling for the text comparison.
AdditionalChangeMarksboolRead/WriteWhen true, each page also marks the POSITION of the counterpart’s change (a thin caret where the other document inserted or deleted text).
ExcludeTablesboolRead/WriteWhen true, text inside detected tables is excluded from the comparison.
ComparisonArea1Rectangle?Read/WriteRestrict the comparison on the first page/document to this area (null compares the whole page).
ComparisonArea2Rectangle?Read/WriteRestrict the comparison on the second page/document to this area (null compares the whole page).
ExcludeAreas1Rectangle[]?Read/WriteAreas on the first page/document whose text is ignored.
ExcludeAreas2Rectangle[]?Read/WriteAreas on the second page/document whose text is ignored.
DeleteColorColorRead/WriteMarker colour for deleted text (left side).
InsertColorColorRead/WriteMarker colour for inserted text (right side).