The sample shows instructions and algorithm of how to extract pdf info from pdf with pdf extractor sdk and how to make it run in your VBScript application. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to extract pdf info from pdf with pdf extractor sdk using VBScript.
The following code snippet for ByteScout Premium Suite works best when you need to quickly extract pdf info from pdf with pdf extractor sdk in your VBScript application. Follow the instructions from scratch to work and copy the VBScript code. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
The trial version of ByteScout Premium Suite can be downloaded for free from our website. It also includes source code samples for VBScript and other programming languages.
' 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