We made thousands of pre-made source code pieces for easy implementation in your own programming projects. What is ByteScout Data Extraction Suite? It is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can help you to extract pdf info from pdf with pdf extractor sdk in your VBScript application.
These VBScript code samples for VBScript guide developers to speed up coding of the application when using ByteScout Data Extraction Suite. Follow the instructions from scratch to work and copy the VBScript code. This basic programming language sample code for VBScript will do the whole work for you to extract pdf info from pdf with pdf extractor sdk.
You can download free trial version of ByteScout Data Extraction Suite from our website with this and other source code samples for VBScript.
' Create Bytescout.PDFExtractor.InfoExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.InfoExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\sample1.pdf") Dim info info = "Author: " & extractor.Author & vbCrLf & _ "Creator: " & extractor.Creator & vbCrLf & _ "Producer: " & extractor.Producer & vbCrLf & _ "Subject: " & extractor.Subject & vbCrLf & _ "Title: " & extractor.Title & vbCrLf & _ "CreationDate: " & extractor.CreationDate & vbCrLf & _ "Keywords: " & extractor.Keywords & vbCrLf & _ "Encrypted: " & extractor.Encrypted & vbCrLf & _ "Bookmarks: " & extractor.Bookmarks & vbCrLf MsgBox info Set extractor = Nothing