This page helps you to learn from code samples for programming in VBScript. ByteScout Data Extraction Suite helps with pdf extraction profiles 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.
If you want to quickly learn then these fast application programming interfaces of ByteScout Data Extraction Suite for VBScript plus the guideline and the VBScript code below will help you quickly learn pdf extraction profiles with pdf extractor sdk. Follow the steps-by-step instructions from the scratch to work and copy and paste code for VBScript into your editor. This basic programming language sample code for VBScript will do the whole work for you in implementing pdf extraction profiles with pdf extractor sdk in your app.
On our website you may get trial version of ByteScout Data Extraction Suite for free. Source code samples are included to help you with your VBScript application.
' This example demonstrates the use of profiles. Profiles are set of properties ' allowing to apply them to Extractor in any combination quickly. You can use ' predefined profiles or create you own in JSON format like in this example. ' Create Bytescout.PDFExtractor.TextExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.TextExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" extractor.OCRLanguageDataFolder = "c:\Program Files\Bytescout PDF Extractor SDK\ocrdata" ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\sample_ocr.pdf") ' Apply predefined profiles extractor.Profiles = "scanned, no-layout" ' Extract text to file extractor.SaveTextToFile("result1.txt") extractor.Reset ' Load another document extractor.LoadDocumentFromFile("..\..\sample_ocr.pdf") ' Load and apply custom profiles extractor.LoadProfiles("profiles.json") extractor.Profiles = "keep-formatting, ocr-forced-200dpi" ' Extract text to file extractor.SaveTextToFile("result2.txt")