Every ByteScout tool contains example VB.NET source codes that you can find here or in the folder with installed ByteScout product. What is ByteScout PDF Extractor SDK? It is the Software Development Kit (SDK) that is designed to help developers with data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker. It can help you to convert PDF to JSON in your VB.NET application.
Fast application programming interfaces of ByteScout PDF Extractor SDK for VB.NET plus the instruction and the code below will help you quickly learn how to convert PDF to JSON. Just copy and paste the code into your VB.NET application’s code and follow the instruction. Detailed tutorials and documentation are available along with installed ByteScout PDF Extractor SDK if you’d like to dive deeper into the topic and the details of the API.
Trial version of ByteScout PDF Extractor SDK can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.
Imports System Imports System.Collections.Generic Imports System.Text Imports Bytescout.PDFExtractor Imports System.Diagnostics Namespace ConsoleApplication1 Class Program Shared Sub Main(ByVal args As String()) ' Create Bytescout.PDFExtractor.JSONExtractor instance Dim extractor As New JSONExtractor() extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("sample3.pdf") extractor.SaveJSONToFile("output.json") ' Cleanup extractor.Dispose() Console.WriteLine() Console.WriteLine("Data has been extracted to 'output.json' file.") Console.WriteLine() Console.WriteLine("Press any key to continue and open JSON file in default viewer...") Console.ReadKey() ' Open result file in default associated application (for demo purposes) Process.Start("output.json") End Sub End Class End Namespace