Want to quickly learn? This fast application programming interfaces of ByteScout PDF Suite for VBScript plus the guidelines and the code below will help you quickly learn how to extract pdf info from pdf with pdf extractor sdk. This VBScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Further improvement of the code will make it more robust.
ByteScout provides the free trial version of ByteScout PDF Suite along with the documentation and source code samples.
' 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