GraphicalPdfComparer.ComparePagesToImage

GraphicalPdfComparer.ComparePagesToImage method

Compares pages graphically. The comparison result is placed in a image.

public void ComparePagesToImage(Page page1, Page page2, string resultImagePath)
ParameterTypeDescription
page1PageThe first page to compare.
page2PageThe second page to compare.
resultImagePathStringThe path to target image file.

Exceptions

exceptioncondition
ArgumentExceptionIf the pages being compared are of different sizes. If resultImagePath is null or empty string. There is unknown saving image format.

See Also