Link Search Menu Expand Document

Compare PDF Documents - VBScript

PDF Extractor SDK sample in VBScript demonstrating ‘Compare PDF Documents’

CompareDocuments.vbs
' Create TextComparer object
Set comparer = CreateObject("Bytescout.PDFExtractor.TextComparer")
comparer.RegistrationName = "demo"
comparer.RegistrationKey = "demo"

'Compare documents
comparer.Compare "comparison1.pdf", "comparison2.pdf"

' Generate report
comparer.GenerateHtmlReport "report.html"

' Open output file in default associated application
Set shell = CreateObject("WScript.Shell")
shell.Run "report.html", 1, false


Download Source Code (.zip)

Return to the previous page Explore PDF Extractor SDK