GraphicalPdfComparer.CompareDocumentsToImages

GraphicalPdfComparer.CompareDocumentsToImages method

Compares documents graphically. The comparison result is placed in images.

public void CompareDocumentsToImages(Document document1, Document document2, 
    string targetDirectory, string fileNamePrefix, ImageFormat imageFormat)
ParameterTypeDescription
document1DocumentThe first document to compare.
document2DocumentThe second document to compare.
targetDirectoryStringThe directory to save a comparison results.
fileNamePrefixStringThe images name prefix.
imageFormatImageFormatThe image format to save.

Exceptions

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

See Also