ByteScout PDF Extractor SDK – VBScript and VB6 – PDF To JSON

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VBScript and VB6 – PDF To JSON

ByteScout PDF Extractor SDK – VBScript and VB6 – PDF To JSON

PDFToJSON.vbs

' Create Bytescout.PDFExtractor.JSONExtractor object
Set extractor = CreateObject("Bytescout.PDFExtractor.JSONExtractor")
extractor.RegistrationName = "demo"
extractor.RegistrationKey = "demo"

' Load sample PDF document
extractor.LoadDocumentFromFile "../../sample3.pdf"

extractor.SaveJSONToFile "output.json"

WScript.Echo "Extracted data saved to 'output.json' file."


  Click here to get your Free Trial version of the SDK

prev
next