The sample source codes on this page shows how to convert pdf to csv by pages with pdf extractor sdk in VBScript. ByteScout Data Extraction Suite is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can be applied to convert pdf to csv by pages with pdf extractor sdk using VBScript.
This prolific sample source code in VBScript for ByteScout Data Extraction Suite contains various functions and other necessary options you should do calling the API to convert pdf to csv by pages with pdf extractor sdk. Simply copy and paste in your VBScript project or application you and then run your app! Complete and detailed tutorials and documentation are available along with installed ByteScout Data Extraction Suite if you’d like to learn more about the topic and the details of the API.
Our website gives trial version of ByteScout Data Extraction Suite for free. It also includes documentation and source code samples.
' Create Bytescout.PDFExtractor.CSVExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.CSVExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile "../../sample3.pdf" ' You can change CSV separator and quotation symbols if needed 'extractor.CSVSeparatorSymbol = "," 'extractor.CSVQuotaionSymbol = "'" ' Get page count pageCount = extractor.GetPageCount() For i = 0 To pageCount - 1 fileName = "page" & i & ".csv" ' Save extracted page text to file extractor.SavePageCSVToFile i, fileName Next WScript.Echo "Extracted data saved as 'page0.csv' and so on..."