PdfCompareOptions.ComparisonDisplayMode

PdfCompareOptions.ComparisonDisplayMode enumeration

Controls how Pdf comparison result document is laid out.

public enum ComparisonDisplayMode

Values

Name Value Description
Inline 0 Default mode. Produces a single merged PDF document where deleted content is highlighted in one color and inserted content in another. Both source and target content coexist on the same pages, which may cause overlap when the documents differ significantly.
SideBySide 1 Each result page shows a source page and its corresponding target page side by side. Deletions appear on the left (source side) and insertions on the right (target side). Content from the two documents never overlaps, making this mode suitable when the documents differ heavily.
Interleaved 2 Produces a document with alternating pages: odd-numbered pages come from the source document (showing deletions) and even-numbered pages come from the target document (showing insertions). Open the result in a PDF viewer with “Two Page View” enabled to see each source/target pair side by side on screen. Like SideBySide, this mode prevents content overlap and is best suited for heavily differing documents.

See Also