GraphicalPdfComparer.GetDifference

GraphicalPdfComparer.GetDifference method

Gets differences between pages images. The result contains an image of the first page compared and an array of differences.

public ImagesDifference GetDifference(Page page1, Page page2)
ParameterTypeDescription
page1PageThe first page.
page2PageThe second page.

Return Value

The ImagesDifference instance.

Exceptions

exceptioncondition
ArgumentExceptionIf the pages being compared are of different sizes.

See Also