The SDK samples given below describe how to quickly make your application do extract text by columns from pdf with pdf extractor sdk in VBScript with the help of ByteScout PDF Suite. Just copy and paste the code into your VBScript application’s code and follow the instructions. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
ByteScout provides the free trial version of ByteScout PDF Suite along with the documentation and source code samples.
' Create Bytescout.PDFExtractor.TextExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.TextExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\columns.pdf") ' Set the column layout mode extractor.ExtractColumnByColumn = true ' Save extracted text to file extractor.SaveTextToFile("result.txt") ' Open output file in default associated application Set shell = CreateObject("WScript.Shell") shell.Run "result.txt", 1, false Set shell = Nothing Set extractor = Nothing