ByteScout tutorials explain the material for programmers who use VBScript. ByteScout PDF Extractor SDK was made to help with PDF extraction profiles in VBScript. ByteScout PDF Extractor SDK is the SDK that helps developers to extract data from unstructured documents, pdf, images, scanned and electronic forms. Includes AI functions like automatic table detection, automatic table extraction and restructuring, text recognition and text restoration from pdf and scanned documents. Includes PDF to CSV, PDF to XML, PDF to JSON, PDF to searchable PDF functions as well as methods for low level data extraction.
This rich sample source code in VBScript for ByteScout PDF Extractor SDK includes the number of functions and options you should do calling the API to implement PDF extraction profiles. This VBScript sample code should be copied and pasted into your application’s code editor. Then just compile and run it to see how it works. Enjoy writing a code with ready-to-use sample VBScript codes to add PDF extraction profiles functions using ByteScout PDF Extractor SDK in VBScript.
ByteScout PDF Extractor SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.
' 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")