GraphicalPdfComparer.ComparePagesToPdf

ComparePagesToPdf(Page, Page, string)

Compares pages graphically. The comparison result is placed in a PDF document.

public void ComparePagesToPdf(Page page1, Page page2, string resultPdfPath)
ParameterTypeDescription
page1PageThe first page.
page2PageThe second page.
resultPdfPathStringThe path to target pdf file.

Exceptions

exceptioncondition
ArgumentExceptionIf the pages being compared are of different sizes. If resultPdfPath is null or empty string.

See Also


ComparePagesToPdf(Page, Page, Document)

Compares pages graphically. The comparison result is placed in a PDF document.

public void ComparePagesToPdf(Page page1, Page page2, Document pdfDocument)
ParameterTypeDescription
page1PageThe first page.
page2PageThe second page.
pdfDocumentDocumentThe pdf document instance.

Exceptions

exceptioncondition
ArgumentExceptionIf the pages being compared are of different sizes.

See Also